December 2025

Project Overview

The Algorithm

  • 4-gram → 3-gram → 2-gram → unigram
  • Stupid Backoff model
  • Prediction in < 0.3 seconds

The Shiny App

  • Clean, simple interface
  • Type any English phrase → click Predict Next Word
  • Shows top 1 prediction + top 5 suggestions

Examples

Input Predicted next word
how are you doing
good morning my friend
thanks for the follow
the united states of america
happy birthday to you

Sagar Pushparaj Paunikar