predictable text via trie