Juan Luis Herrera Cortijo
25 April 2015
Word Prediction is a Shiny app that predicts the next word as you write. Word Prediction is:
Word Prediction brings to your desktop the experience that SwiftKey provides to mobile devides. While you write, it monitorizes your progress and presents you with 3 words that you can choose at any moment, either by clicking on a “Select” buttom or hitting the enter key to use the app's best guess.
If offers two kind of predictions:
Behind the scenes, Word Prediction runs a prediction algorith based in a trigram language model. The main features of this algorithm are:
At the heart of the app lives its language model. The corpus used to build the model was provided by the Coursera's staff and is and english set of twitter, blog posts and news from HC Corpopora. All the posts were put together and splitted into sentences to create a mixed corpus. Each sentence in the corpus was: