FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
20states 19 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 20
- subset construction 12
- minimal 10
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 | — | — | — | — | — | — | {q5, q9, q14} | q1 | S |
| q1 | q2 | — | — | — | — | — | — | — | A | |
| q2 | — | — | — | — | q3 | — | — | — | B | |
| q3 | — | — | — | q4 | — | — | — | — | C | |
| ∗ | q4 | — | — | — | — | — | — | — | — | P |
| q5 | q6 | — | — | — | — | — | — | — | D | |
| q6 | — | — | — | — | q7 | — | — | — | E | |
| q7 | — | — | — | q8 | — | — | — | — | F | |
| ∗ | q8 | — | — | — | — | — | — | — | — | Q |
| q9 | q10 | — | — | — | — | — | — | — | G | |
| q10 | — | — | — | — | q11 | — | — | — | H | |
| q11 | — | — | — | q12 | — | — | — | — | I | |
| q12 | — | — | — | — | — | q13 | — | — | J | |
| ∗ | q13 | — | — | — | — | — | — | — | — | R |
| q14 | q15 | — | — | — | — | — | — | — | K | |
| q15 | — | — | — | — | q16 | — | — | — | L | |
| q16 | — | — | — | q17 | — | — | — | — | M | |
| q17 | — | — | q18 | — | — | — | — | — | N | |
| q18 | — | q19 | — | — | — | — | — | — | O | |
| ∗ | q19 | — | — | — | — | — | — | — | — | T |
→ initial, ∗ final. Empty cells (—) lead to rejection.