2025-07-14

Introduction

This app predicts the next word in a phrase using n-gram models.

Algorithm

It uses trigrams with backoff to bigrams and unigrams if needed.

App Overview

Shiny-based UI: input text, output next word.

Instructions

  1. Type a phrase
  2. Click “Predict”
  3. See the predicted next word

Summary

Simple NLP-based prediction. Easy to use, responsive, and effective.