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