ngram-language-model and N-Gram-Language-Model
About ngram-language-model
joshualoehr/ngram-language-model
Python implementation of an N-gram language model with Laplace smoothing and sentence generation.
This tool helps language researchers and natural language processing practitioners create and evaluate simple text generation models. You provide it with pre-processed text data, and it builds a statistical model of word sequences. The output includes newly generated sentences based on the patterns learned from your data, along with a measure of how well the model predicts new text.
About N-Gram-Language-Model
burhanharoon/N-Gram-Language-Model
It's a python based n-gram langauage model which calculates bigrams, probability and smooth probability (laplace) of a sentence using bi-gram and perplexity of the model.
Scores updated daily from GitHub, PyPI, and npm data. How scores work