"ArpaNgramIter" has two methods: "Next" and "Get".
Encode an N-gram to a key of trie.