This capstone project creates a text prediction model in which a multi-word phrase is taken as input and a prediction of likely next words is made.
2024-03-03
This capstone project creates a text prediction model in which a multi-word phrase is taken as input and a prediction of likely next words is made.
From a client perspective, the application is extremly simple. The user simply needs to type one or more words into the “Input text” field. The model will then calculate the most likely “next” words and display the top 3 predictions.
| Model Data | Lines | Words |
|---|---|---|
| blogs_en.txt | 899,288 | 37,334,690 |
| news_en.txt | 1,010,244 | 34,372,720 |
| twitter_en.txt | 2,360,148 | 30,374,206 |
| Unique N-Grams | Count |
|---|---|
| Tri-Grams | 42,935,040 |
| Bi-Grams | 13,585,630 |
| Uni-Grams | 830,635 |