FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
11states 10 transitions · 3 final · |Σ| = 6
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 15
- subset construction 11
- minimal 10
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | k | l | s | t | w | Nonterminal | NFA states | |
|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | — | — | — | q1 | q2 | S | {q0} |
| q1 | q3 | — | — | — | — | — | A | {q6,q10} | |
| q2 | q4 | — | — | — | — | — | B | {q1} | |
| q3 | — | — | q5 | — | — | — | C | {q7,q11} | |
| q4 | — | — | q6 | — | — | — | D | {q2} | |
| q5 | — | q7 | — | — | — | — | E | {q8,q12} | |
| q6 | — | q8 | — | — | — | — | F | {q3} | |
| ∗ | q7 | — | — | — | q9 | — | — | G | {q9,q13} |
| q8 | — | — | — | q10 | — | — | H | {q4} | |
| ∗ | q9 | — | — | — | — | — | — | I | {q14} |
| ∗ | q10 | — | — | — | — | — | — | J | {q5} |
→ initial, ∗ final. Empty cells (—) lead to rejection.