This report presents an exploratory data analysis of the English text corpora (Blogs, News, and Twitter) provided by SwiftKey. The goal is to outline data dimensions, examine word frequency patterns, and establish the technical roadmap for the upcoming next-word prediction algorithm and interactive Shiny web application.
To evaluate the scope of the raw corpora, basic structural metrics were extracted across all three data sources: ### Key Findings * Twitter entries are significantly shorter due to character constraints, yielding fragmented syntax. * Blogs and News exhibit richer multi-word combinations, making them suitable baselines for sentence structure modeling.
Natural language follows Zipf’s Law, where a small set of words dominates total occurrences. ### Key Findings * Twitter entries are significantly shorter due to character constraints, yielding fragmented syntax. * Blogs and News exhibit richer multi-word combinations, making them suitable baselines for sentence structure modeling.
| Common stop words (e.g., the, to, and) account for the bulk of occurrences. While frequently filtered in classification tasks, they are retained here because valid text autocompletion requires predicting prepositions, conjunctions, and articles. |
"the") for
out-of-vocabulary inputs.