Slide 1: Project Overview
- A Shiny app that predicts the next word in a phrase.
- Built using R, Shiny,
dplyr, and tidytext.
- Lightweight bigram-based prediction model.
Slide 2: Prediction Algorithm
- Text cleaning and tokenization with
tidytext.
- Constructed bigram frequency table from corpus.
- Predicts the next word using most common bigram match.
Slide 3: How the App Works
- User enters a phrase into the input box.
- On clicking Predict, the app processes the last word.
- The app returns the most likely next word based on bigram frequency.
Slide 4: Instructions
- Try entering phrases like:
I love
The weather is
We need
- Click Predict
- See the predicted next word instantly.
Slide 5: Summary
- ✅ Lightweight and fast
- ✅ Easy to use interface
- ✅ Hosted on shinyapps.io
- ✅ Slide deck shared via RPubs
- Ideal for MVPs or quick NLP demos