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