FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
6states 6 transitions · 2 final · |Σ| = 6
Minimal DFA (Moore’s partition refinement): states with the same future are merged, so shared suffixes are drawn once. Partial: a missing transition means rejection (an implicit dead state).
- NFA 19
- subset construction 11
- minimal 6
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | k | l | s | t | w | Nonterminal | DFA states | |
|---|---|---|---|---|---|---|---|---|---|
| → | q0 | — | — | — | — | q1 | q1 | S | {q0} |
| q1 | q2 | — | — | — | — | — | A | {q1,q2} | |
| q2 | — | — | q3 | — | — | — | B | {q3,q4} | |
| q3 | — | q4 | — | — | — | — | C | {q5,q6} | |
| ∗ | q4 | — | — | — | q5 | — | — | D | {q7,q8} |
| ∗ | q5 | — | — | — | — | — | — | E | {q9,q10} |
→ initial, ∗ final. Empty cells (—) lead to rejection.