The N-Gram Text Predictor is an R Shiny app that predicts the next word based on a line of text entered by the user
- Similar to the predictive text feature seen in Google search
Users are prompted to enter a line of text. Once entered, the application instantaneously outputs the predicted next word
Developed using a training corpus of text obtained equally from online blogs, news articles, and twitter posts
- 150,000 lines of text
- 4.4 million instances of 112,000 distinct words/tokens
Available for free at https://kristopherhuffman.shinyapps.io/N-gram-Text-Predictor/