N-gram State Machine Visualizer
Watch how Markov chains process text as a state machine
How to Use
- Train: Enter text and click "Train Model" to build the Markov chain
- Generate: Click "Generate Step" to sample one character at a time
- Observe: Watch the state transitions in the graph and probability table
Transition Probabilities
Train a model to see transitions