predictable text via trie

predictable text and autocomplete-like features via a trie