January 2026

Project Overview

  • Predict the next word from a given phrase
  • Inspired by mobile keyboard suggestions
  • Built using Natural Language Processing concepts
  • Deployed as a Shiny web application

Data & Algorithm

  • English text data from blogs, news, and Twitter
  • Text cleaning and tokenization
  • N-gram language models
  • Backoff strategy for prediction

Shiny App

  • User enters a phrase
  • App predicts a single next word
  • Simple and responsive interface
  • Hosted on shinyapps.io

Results

  • Generates predictions for all tested phrases
  • Fast response time
  • Lightweight and easy to use

Conclusion & Future Work

  • Demonstrates a practical NLP application
  • Accuracy can be improved with smoothing techniques
  • Multiple predictions and confidence scores as future enhancements