FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
6states 5 transitions · 1 final · |Σ| = 5
Non-deterministic: one path per word, all leaving q0. No two words share their first symbol, so this NFA happens to be deterministic.
parli
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | i | l | p | r | Nonterminal | |
|---|---|---|---|---|---|---|---|
| → | q0 | — | — | — | q1 | — | S |
| q1 | q2 | — | — | — | — | A | |
| q2 | — | — | — | — | q3 | B | |
| q3 | — | — | q4 | — | — | C | |
| q4 | — | q5 | — | — | — | D | |
| ∗ | q5 | — | — | — | — | — | E |
→ initial, ∗ final. Empty cells (—) lead to rejection.