Pran Krishna Kar
2026-04-04
Every day, people type billions of messages on their phones and computers.
Our Solution:
A smart next-word prediction app built entirely in R that predicts what you'll type next!
The app uses an N-gram language model:
Input: "I want to"
Output: "go" ← most likely next word
Others: "be", "the", "know", "make"
This is called Stupid Backoff — fast, accurate, and simple!
Features:
Try it here: https://shinyapps.io

Built with R, Shiny, and love ❤️
| Model | Accuracy | Speed |
|---|---|---|
| 2-gram | 15% | Very Fast |
| 3-gram | 28% | Fast |
| 4-gram | 35% | Fast |
| Combined | ~40% | Fast |
The Next Word Predictor App
Why use it?
Source code: https://github.com/prankrishnakar
Thank you! Questions?