Closed amake closed 7 years ago
Thanks @amake ! I confirmed the issue and reproduced the problem with following data extracted from yours:
seu o
yen
This issue will be fixed in a day.
0.9.5 https://github.com/takawitter/trie4j/releases/tag/0.9.5 released. It takes a while to be available at maven central repository.
It is available for me already, and I can confirm that the issue is fixed. Thanks for the very fast response!
Hi. I am using trie4j to store natural-language dictionary entries. With a particular dictionary index and a particular lookup word I am getting an ArrayIndexOutOfBoundsException on
MapDoubleArray.get()
. Sample code:The test file loaded above is available here: https://gist.github.com/amake/ba10166a7bf59ffac180defcecbec8d4
The lookup word "you" is not contained in the index, so I expect both
get()
calls to return null; however the second one results in this exception:This occurs with version 0.9.4.