Zekuan Zhu
九月 30, 2026
The opportunity: people type billions of words a day on phones. Suggesting the next word saves keystrokes and reduces errors.
The product: a web app that predicts the next word of any phrase, in milliseconds, from a model small enough to run on a free server.
For input “… thanks for the”:
Stupid Backoff (Brants et al., 2007) needs no expensive smoothing, scales to web-sized data and each prediction is just 3 keyed look-ups.
| Metric | Value |
|---|---|
| Test cases (unseen sentences) | 5,000 |
| Top-1 accuracy | 15.8% |
| Top-3 accuracy | 25.2% |
| Top-5 accuracy | 30.7% |
| Average time per prediction | 3.7 ms |
| Model size in memory | 25 MB |
“Top-3” is what a phone keyboard shows: the right word is in the suggestion bar for 25.2% of words typed.
Using the app (https://YOUR-ACCOUNT.shinyapps.io/next-word/)
Next steps