Step 1: User types a phrase (e.g., “I want to”)
Step 2: Preprocess text
Step 3: Predict using N-gram model
| Dataset | Lines | Max Line Length |
|---|---|---|
| Blogs | 899,288 | 40,833 |
| News | 1,010,242 | 11,385 |
| 2,360,148 | 140 |
Try the app: https://tuenxu666.shinyapps.io/app904/
Enxu Lu | 2026-09-05