Around the world, people spend an exorbitant amount of time on their mobile devices for email, social networking, banking, and a whole range of other activities; however, typing on mobile devices can be difficult.
SwiftKey, the corporate partner for this capstone course, builds smart keyboards that make it easier for people to type on their mobile devices. One cornerstone of their smart keyboard is predictive text models, where the keyboard presents three options for the next word. This project’s objective is to develop and build a predictive text model like those used by SwiftKey and incorporate it into a web app.
The presented web app incorporates Katz’s backoff model for text prediction. A backoff model is a generative n-gram language model that estimates the conditional probability of a word given its history in an n-gram. It accomplishes this estimation by backing off through progressively shorter history models under certain conditions (i.e., start with a trigram probability and then back off to a bigram or unigram probability based on data availability).