FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
14states 13 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 22
- subset construction 14
- 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 | {q7,q11,q16} | |
| q2 | q4 | — | — | — | — | — | — | — | B | {q1} | |
| q3 | — | — | — | — | q5 | — | — | — | C | {q8,q12,q17} | |
| q4 | — | — | — | — | q6 | — | — | — | D | {q2} | |
| q5 | — | — | — | q7 | — | — | — | — | E | {q9,q13,q18} | |
| q6 | — | — | — | q8 | — | — | — | — | F | {q3} | |
| ∗ | q7 | — | — | q9 | — | — | q10 | — | — | G | {q10,q14,q19} |
| q8 | — | — | q11 | — | — | — | — | — | H | {q4} | |
| q9 | — | q12 | — | — | — | — | — | — | I | {q20} | |
| ∗ | q10 | — | — | — | — | — | — | — | — | K | {q15} |
| q11 | — | q13 | — | — | — | — | — | — | J | {q5} | |
| ∗ | q12 | — | — | — | — | — | — | — | — | L | {q21} |
| ∗ | q13 | — | — | — | — | — | — | — | — | M | {q6} |
→ initial, ∗ final. Empty cells (—) lead to rejection.