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