FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
13states 12 transitions · 2 final · |Σ| = 9
Non-deterministic: one path per word, all leaving q0. No two words share their first symbol, so this NFA happens to be deterministic.
- NFA 13
- subset construction 13
- minimal 12
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | c | l | n | o | p | r | t | v | Nonterminal | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | q1 | — | — | — | q6 | — | — | — | S |
| q1 | q2 | — | — | — | — | — | — | — | — | A | |
| q2 | — | — | — | q3 | — | — | — | — | — | B | |
| q3 | — | — | — | — | — | — | — | q4 | — | C | |
| q4 | — | — | — | — | q5 | — | — | — | — | D | |
| ∗ | q5 | — | — | — | — | — | — | — | — | — | K |
| q6 | q7 | — | — | — | — | — | — | — | — | E | |
| q7 | — | — | — | — | — | — | q8 | — | — | F | |
| q8 | — | — | q9 | — | — | — | — | — | — | G | |
| q9 | q10 | — | — | — | — | — | — | — | — | H | |
| q10 | — | — | — | — | — | — | — | — | q11 | I | |
| q11 | q12 | — | — | — | — | — | — | — | — | J | |
| ∗ | q12 | — | — | — | — | — | — | — | — | — | L |
→ initial, ∗ final. Empty cells (—) lead to rejection.