aho corasick matcher for dictiony lookup based on keywords