Alessandro Galletto
27th January, 2020
This is the final project for the Data Science Course by John Hopkins University. It consists in developing a shiny app that predicts the next word for a sentence.
The app carries out these functions:
The algorithm is based on a corpus of text that is tokenized into bigram, trigram and quadgram and the frequency matrices are stored in RDS files to be used by the prediction algorithm. The shiny app uses this files in order to find and show the next word most frequently used.