A collection of language modelling experiments and NLP utilities, covering smoothing techniques, evaluation, data extraction, and syntactic parsing.
Implementation of n-gram language models with different smoothing techniques to handle unseen n-grams and improve probability estimates.
Scripts to evaluate trained language models, e.g. using perplexity and other standard evaluation metrics.
Tools/scripts to extract and preprocess text data from Wikipedia dumps for use as training corpora.
Slide deck(s) covering the theory and practical implementation of the language models in this repository.
Part-of-speech tagging and dependency parsing utilities used for syntactic analysis of the text corpora.
Utilities for working with the Google Ngram dataset, including data loading and analysis.
Clone the repository and explore each module — see the comments/README within each subfolder for usage details specific to that component.
git clone <repo-url>
cd Language-ModelAdditional details for each component are documented within the corresponding scripts/notebooks.