Text Prediction Capstone
Predict the next word in a phrase using a Shiny app powered by n-gram modeling.
Text Prediction Capstone
Predict the next word in a phrase using a Shiny app powered by n-gram modeling.
Problem: Users need quick suggestions for text completion.
Goal: Build a predictive model and interactive interface to suggest the next word.
Data Sources: Blogs, news, Twitter
Algorithm: Backoff model with uni-, bi-, tri-, quadgrams
App Features: Text input box, Predict button, outputs next word
Example: “I love to” → Prediction: “eat”
Why it’s valuable: Interactive, user-friendly, ready to deploy
Improvements: Top 3 suggestions, more data, auto-suggestions
Call to Action: Can integrate into writing tools, messaging apps, or educational software