Package com.hankcs.algorithm
package com.hankcs.algorithm
-
ClassDescriptionAn implementation of Aho Corasick algorithm based on Double Array TrieA result outputProcessor handles the output when hit a keywordCallback that allows to cancel the search process.Processor handles the output when hit a keyword, with more detail一个状态有如下几个功能