Created nltk ngram model and function calls to replicate