- Goal: predict the next word as someone types
- Built a Shiny app: enter text, click Predict next word, and get the top suggestion plus alternatives
- Trained on a 20% sample of the text corpus
- Try it: https://aj21122112.shinyapps.io/next-word/
2026-11-15
| Metric | Accuracy |
|---|---|
| Top-1 | 0.1690 |
| Top-3 | 0.2625 |
| Top-5 | 0.3170 |