FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
23states 22 transitions · 4 final · |Σ| = 10
Non-deterministic: one path per word, all leaving q0. One state has more than one transition on the same symbol (in red).
- NFA 23
- subset construction 15
- 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 | i | l | n | o | p | r | t | v | Nonterminal | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | {q1, q6, q13} | — | — | — | — | q18 | — | — | — | S |
| q1 | q2 | — | — | — | — | — | — | — | — | — | A | |
| q2 | — | — | — | — | q3 | — | — | — | — | — | B | |
| q3 | — | — | — | — | — | — | — | — | q4 | — | C | |
| q4 | — | — | — | — | — | q5 | — | — | — | — | D | |
| ∗ | q5 | — | — | — | — | — | — | — | — | — | — | T |
| q6 | q7 | — | — | — | — | — | — | — | — | — | E | |
| q7 | — | — | — | — | q8 | — | — | — | — | — | F | |
| q8 | — | — | — | — | — | — | — | — | q9 | — | G | |
| q9 | q10 | — | — | — | — | — | — | — | — | — | H | |
| q10 | — | — | — | — | — | — | — | — | — | q11 | I | |
| q11 | q12 | — | — | — | — | — | — | — | — | — | J | |
| ∗ | q12 | — | — | — | — | — | — | — | — | — | — | U |
| q13 | q14 | — | — | — | — | — | — | — | — | — | K | |
| q14 | — | — | — | — | q15 | — | — | — | — | — | L | |
| q15 | — | — | — | — | — | — | — | — | q16 | — | M | |
| q16 | — | — | q17 | — | — | — | — | — | — | — | N | |
| ∗ | q17 | — | — | — | — | — | — | — | — | — | — | V |
| q18 | q19 | — | — | — | — | — | — | — | — | — | O | |
| q19 | — | — | — | — | — | — | — | q20 | — | — | P | |
| q20 | — | — | — | q21 | — | — | — | — | — | — | Q | |
| q21 | — | — | — | — | — | q22 | — | — | — | — | R | |
| ∗ | q22 | — | — | — | — | — | — | — | — | — | — | W |
→ initial, ∗ final. Empty cells (—) lead to rejection.