Heng Tola
5/15/2021
The purpose of the project is to create text-prediction application with R Shiny package that predicts words using a natural language processing model i.e. creating an application based on a predictive model for text.
Given a word or phrase as input, the application will try to predict the next word, similar to the way most smart phone keyboards are implemented today using the technology of Swiftkey.
The predictive model will be trained using a corpus, a collection of written texts, called the HC Corpora which has been filtered by language.
The prediction model uses the principles of tidy data applied to text mining in R. The following Key steps are involved in the prediction model.
Overview: The Next Word Predictor app provides a simple user interface to the next word prediction model. The app takes as input a phrase (multiple words) in a text box input and outputs a prediction of the next word.
The below image describes how the app functions and its instructions.
<img src=“C:/Users/