Djoko Soehartono
28 December 2016
Predicting Next Word
This presentation is created as part of the requirement for the Coursera Data Science Capstone Course.
The goal of the project is to build a predictive text model combined with a shiny app UI that will predict the next word as the user types a sentence similar to the way most smart phone keyboards are implemented today using the technology of Swiftkey.
[Shiny App] - [https://dsoehartono.shinyapps.io/capstone]
[Github Repo] - [https://github.com/dsoehartono/capstone]
Before building the word prediction algorithm, data are first processed and cleaned as steps below:
The prediction model for next word is based on the Katz Back-off algorithm, as explained below:
A Shiny application was developed based on the next word prediction model described previously as shown below: