hankcs/AhoCorasickDoubleArrayTrie

parseText throw ArrayIndexOutOfBoundsException when build with an empty map

XhstormR opened this issue · 2 comments

val acdat = AhoCorasickDoubleArrayTrie<String>()
acdat.build(emptyMap())

println(acdat.parseText("uhers")) // java.lang.ArrayIndexOutOfBoundsException

image

The previous issue #45 has not been fixed。

Thanks. Now fixed.