Problem & Motivation

  • Typing on mobile devices can be slow and error-prone.
  • Next-word prediction improves typing speed and accuracy.
  • This app simulates a basic predictive text engine using public language data.

Algorithm & Model

  • Built using n-gram models (unigram, bigram, trigram).
  • Data cleaned: stopwords, numbers, profanity removed.
  • Stupid backoff approach to choose highest probability next word.

App Functionality

  • Enter any phrase (2-3 words) in the input box.
  • App returns a predicted next word based on trained n-gram frequency tables.
  • Hosted at shinyapps.io for live demo.

Insights & Next Steps

Thank You

  • Questions?
  • Feedback welcome!