Implement Trie Filter for special words