Challenge: Predict the next word as you type (like smartphone keyboards)
Our Solution:
- N-gram language models (2-5 grams)
- Trained on Coursera-SwiftKey dataset
- Fast backoff algorithm
- Simple Shiny web app
December 2025
Challenge: Predict the next word as you type (like smartphone keyboards)
Our Solution:
Algorithm:
Input: "I want to" ↓ Try 4-gram: "I want to ___" ↓ (not found) Try 3-gram: "want to ___" ✓ Found predictions! ↓ Return: "go", "see", "be", "know", "do"
Key Idea: Start with longest context, fallback to shorter
Features:
Try it: Launch App
Summary: