Rowen Remis R. Iral
2015 April 19
This project is an application of NLP to create a ShinyApp that will be able to predict the next text that the user will input.
The goal of the project is to apply Natural Language Processing(NLP) to create text prediction algorithm in a Shiny App using the following as a base for text prediction
The project involved the application of NLP to divide the words into one-gram, bi-gram, tri-gram and quad-gram words.
These will then create manageable chunks of processed information, determiners (stop words) are not removed so as to make the text prediction good on predicting phrases' and sentences' word.
Algorithm clears memory each time to make sure light consumption of memory. N-grams helps to handle the ranking of probabilities created to determine next word
The algorithm uses the grep function to perform some search on the possible words to be outputted as predicted word.
Location of ShinyApp for NLP:
Thank you.
Rowen Remis R. Iral