Typing on phones is slow. Next-Word Predictor is a web app that guesses the next word as you type — like the suggestion bar on a smartphone keyboard.
- Input: a phrase typed into a text box (e.g. “the president of the united”).
- Output: the most likely next word (“states”), plus a couple of alternatives.
- Built in R + Shiny, hosted on shinyapps.io so anyone can use it from a browser.
The model was trained on a large corpus of English blogs, news articles and tweets (the SwiftKey dataset, ~4 million lines / ~100 million words).