Trie-driven frequent word finder for input text.