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