The key objective of this project was to create a simple text-prediction application using the R Shiny package. The application that I have built uses the n-gram model to predict the next word in the phrase.
For training the model, I have used the corpus, a collection of written texts from Twitter, News, and Blogs in English.
The size of the data dictionary was optimized by selecting the top combination of bi-, tri-, quad-, quint-, and sext- words.