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

ArrayIndexOutOfBoundsException, when build with an empty map #45

Closed Firstero closed 3 years ago

Firstero commented 4 years ago

image

hankcs commented 3 years ago

See https://github.com/hankcs/AhoCorasickDoubleArrayTrie/commit/89c7355922790315f8f7a40c9b1657e1fe04df3f