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