Quick and dirty implementation of unigram and bigram model as an exercise from Speech and Language Processing.
Corpus taken from this repo: https://github.com/numenta/nupic.nlp-examples/tree/master/resources/text
Quick and dirty implementation of unigram and bigram model as an exercise from Speech and Language Processing.
Corpus taken from this repo: https://github.com/numenta/nupic.nlp-examples/tree/master/resources/text