Encode the context words and find the "prefix" node in "(*Predictor).ngramTrie.