The prediction engine uses N-gram language modeling with backoff.
How it works
- Trigrams (3 words) → primary prediction
- Bigrams (2 words) → fallback if trigram not found
- Default word → used when no match exists
Key design choice
- Frequency-based prediction for speed and simplicity