hankcs / AhoCorasickDoubleArrayTrie

An extremely fast implementation of Aho Corasick algorithm based on Double Array Trie.
http://www.hankcs.com/program/algorithm/aho-corasick-double-array-trie.html
950 stars 290 forks source link

匹配结果包含空字符串 #56

Open leimtang opened 2 years ago

leimtang commented 2 years ago

导入词库:https://github.com/toolgood/ToolGood.Words/blob/master/java/sensi_words.txt 用示例代码搜索后有空字符被匹配: image