SwiftKey users often type phrases quickly on mobile devices.
The goal of this project is to predict the next word based on a phrase entered by the user.
The application provides a simple demonstration of next-word prediction using text data.
SwiftKey users often type phrases quickly on mobile devices.
The goal of this project is to predict the next word based on a phrase entered by the user.
The application provides a simple demonstration of next-word prediction using text data.
The model uses sample text from three sources:
For this project, 5,000 lines were sampled from each source to keep the application lightweight.
The application uses a simple word-frequency approach.
The application provides:
Example:
Input: I want to
Prediction: the
The application is deployed using shinyapps.io.
This project demonstrates a simple approach to next-word prediction.
The current application uses a lightweight sample of the SwiftKey dataset.
Future improvements could include larger datasets, n-gram models and more advanced language models for better prediction accuracy.