Our goal was to create a simple and elegant app that could predict the next word in a sentence out of a meaningful input of words.
To provide this functionality we built a N-gram probabilistic language model and used Stupid Backoff algorithm to rank next-word candidates.
Our application, Your Next Word, achieves the following accuracy using an independent test set and generates predictions in less than 0.348s by using 69.5MB of disk space.
| Top_1_Accuracy | Top_3_Accuracy | Top_5_Accuracy | |
|---|---|---|---|
| 5 | 14.83% | 22.85% | 27.58% |