2026-01-10

Slide 1: Project Overview

  • Goal: Predict the next word in a user-entered phrase
  • Input: Multiple words in a text box
  • Output: Single predicted next word
  • Purpose: Demonstrates text prediction and an interactive Shiny app

Slide 2: Algorithm

  • Uses a small n-gram sample dataset for word prediction
  • Takes last 1–2 words of user input
  • Matches the phrase in dataset to suggest next word
  • Prototype approach for learning and demonstration

Slide 3: Shiny App Interface

  • Text box for phrase input
  • “Predict” button triggers the prediction
  • Output displays the predicted next word
  • Interactive and easy for non-technical users

Slide 4: How to Use

  1. Enter a phrase (like “I love”)
  2. Press Predict
  3. See suggested next word immediately
  4. Tested with 5 sample phrases from Twitter/news style

Slide 5: Impact & Future

  • Shows basic predictive text modeling
  • Can be extended to larger datasets for realistic predictions
  • Easy to use, demonstrates your data science workflow
  • Ready for further development or deployment