Capstone Word Predictor Presentation

author: Gonzalo Andres Moreno date: April 24/2016

https://gonzalomoreno.shinyapps.io/CapstoneProjectwordpredictor/

Prediction of the next word

In this capstone project, we will apply data science in the area of natural language processing

How this Shiny App works?

  1. It uses n-grams with n=1,2,3,4

  2. It uses frequency table of each n-grams

  3. Recommend three possible words based on the “backoff” algorithm. If the phrase is not found in a n-gram model then we need to backoff to a n-1 gram model. For e.g. a lookup will be done in trigram, if not found the algorithm will backoff to bigram and finally to unigram.

Hence if we had the phrase

How the Shiny App is designed….

How use the Shiny App…

  1. Write your text in the Input Text Box of the main panel. Avoid final spaces.

  2. In case you find a word (without spaces) that matches with your preferences,please digit the button in front of it to take in account the amount of sucesses and failures.

  3. If any choices fits with your preferences, go on writing in the Input Text Box