FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
20states 19 transitions · 3 final · |Σ| = 9
Non-deterministic: one path per word, all leaving q0. One state has more than one transition on the same symbol (in red).
- NFA 20
- subset construction 16
- minimal 12
Hover or tap a word to trace its path. Double circles are final states. Red symbols leave a state on more than one transition.
Transition table
| State | a | c | l | n | o | p | r | t | v | Nonterminal | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | {q1, q6} | — | — | — | q13 | — | — | — | S |
| q1 | q2 | — | — | — | — | — | — | — | — | A | |
| q2 | — | — | — | q3 | — | — | — | — | — | B | |
| q3 | — | — | — | — | — | — | — | q4 | — | C | |
| q4 | — | — | — | — | q5 | — | — | — | — | D | |
| ∗ | q5 | — | — | — | — | — | — | — | — | — | Q |
| q6 | q7 | — | — | — | — | — | — | — | — | E | |
| q7 | — | — | — | q8 | — | — | — | — | — | F | |
| q8 | — | — | — | — | — | — | — | q9 | — | G | |
| q9 | q10 | — | — | — | — | — | — | — | — | H | |
| q10 | — | — | — | — | — | — | — | — | q11 | I | |
| q11 | q12 | — | — | — | — | — | — | — | — | J | |
| ∗ | q12 | — | — | — | — | — | — | — | — | — | R |
| q13 | q14 | — | — | — | — | — | — | — | — | K | |
| q14 | — | — | — | — | — | — | q15 | — | — | L | |
| q15 | — | — | q16 | — | — | — | — | — | — | M | |
| q16 | q17 | — | — | — | — | — | — | — | — | N | |
| q17 | — | — | — | — | — | — | — | — | q18 | O | |
| q18 | q19 | — | — | — | — | — | — | — | — | P | |
| ∗ | q19 | — | — | — | — | — | — | — | — | — | T |
→ initial, ∗ final. Empty cells (—) lead to rejection.