FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
13states 12 transitions · 4 final · |Σ| = 8
Deterministic, by subset construction on the NFA: the prefix tree (trie) of the words. Hover a state to see the NFA states it stands for. Partial: a missing transition means rejection (an implicit dead state).
- NFA 21
- subset construction 13
- minimal 11
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | d | e | k | l | s | t | w | Nonterminal | NFA states | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | — | — | — | — | — | q1 | q2 | S | {q0} |
| q1 | q3 | — | — | — | — | — | — | — | A | {q6,q10,q15} | |
| q2 | q4 | — | — | — | — | — | — | — | B | {q1} | |
| q3 | — | — | — | — | q5 | — | — | — | C | {q7,q11,q16} | |
| q4 | — | — | — | — | q6 | — | — | — | D | {q2} | |
| q5 | — | — | — | q7 | — | — | — | — | E | {q8,q12,q17} | |
| q6 | — | — | — | q8 | — | — | — | — | F | {q3} | |
| ∗ | q7 | — | — | q9 | — | — | q10 | — | — | G | {q9,q13,q18} |
| q8 | — | — | — | — | — | q11 | — | — | H | {q4} | |
| q9 | — | q12 | — | — | — | — | — | — | I | {q19} | |
| ∗ | q10 | — | — | — | — | — | — | — | — | J | {q14} |
| ∗ | q11 | — | — | — | — | — | — | — | — | K | {q5} |
| ∗ | q12 | — | — | — | — | — | — | — | — | L | {q20} |
→ initial, ∗ final. Empty cells (—) lead to rejection.