Tool 16 · Session 1 · Text · Count → Probability → Prediction

Count the Next Token

Language models predict the next word by counting — how often does word B follow word A in training text? Pick a context word, watch the bigram frequency table build, then follow the arithmetic from raw count to probability to prediction. No guessing. The machine is doing division.

context count divide probability predict

Interactive count to probability workspace

Choose a context word
Corpus

80 sentences drawn from four registers: news, story, classroom, conversation. Inline data — no network calls.

← Pick a context word to begin.