FSA from words to automata
finite-state automata · regular expressions · type-3 grammars
8states 7 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.
cantava
Hover or tap a word to trace its path. Double circles are final states.
Transition table
| State | a | c | n | t | v | Nonterminal | |
|---|---|---|---|---|---|---|---|
| → | q0 | — | q1 | — | — | — | S |
| q1 | q2 | — | — | — | — | A | |
| q2 | — | — | q3 | — | — | B | |
| q3 | — | — | — | q4 | — | C | |
| q4 | q5 | — | — | — | — | D | |
| q5 | — | — | — | — | q6 | E | |
| q6 | q7 | — | — | — | — | F | |
| ∗ | q7 | — | — | — | — | — | G |
→ initial, ∗ final. Empty cells (—) lead to rejection.