A java implementation for Aho-Corasick automation