add search keyword extraction
trie generator for valid keyword extraction