A Trie structure for a custom autocorrect method.