Sachin Raje
12 Feb 2017
As part of the Data Science Specialisation course from Coursera, this Shiny app is developed for the Capstone project.
The goal of this application is to build a predictive text model that will predict the next word as the user types a sentence. The application considers the last 3 words typed, and predicts the next word, based on the SwiftKey data available. The data helped us build uni-gram, bi-gram and tri-gram datasets. These are used for predicting the next word.
[Shiny App] - [https://sachinvraje.shinyapps.io/capstone/]
[Github Repo] - [https://github.com/sachinvraje/capstone]
[RPubs] - [http://rpubs.com/sachinvraje/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. Explanation of the next word prediction flow is as below:
A Shiny application was developed based on the next word prediction model described previously. The application is accessible via
[Shiny App] - [https://sachinvraje.shinyapps.io/capstone/]