ModelPredictor function

Allows predicting text, calculating word probabilities and Perplexity