Add wildcard matching to WordTrie