git clone git@github.com:tpimentelms/probability-of-a-word.git cd probability-of-a-word pip install -e .
Returns the probability of a pattern of word length N followed by a word derived from a given corpus. Parsing done by nltk. NOTE: some special characters throw it out of whack. > python ngram.py ...