Skip to content

Releases: hankcs/AhoCorasickDoubleArrayTrie

v1.2.2

04 Feb 04:21
Compare
Choose a tag to compare
  • Fixed StackOverflowError for long keywords @tkuun101
  • Support building zero-length trie fix #31
  • Replace old array-style. Replace Duplicate Code, Add more comments. @ibrahimAlii

v1.2.1 Support for CharSequence

04 Jan 01:17
Compare
Choose a tag to compare

Now we can parse any CharSequence including but not limited to StringBuilder.

v1.2.0 New Feature

01 Apr 17:07
Compare
Choose a tag to compare
  1. public boolean matches(String text)
  2. public Hit<V> findFirst(String text)
  • For upgrading, you'll probably need to change AhoCorasickDoubleArrayTrie<String>.Hit<String> to AhoCorasickDoubleArrayTrie.Hit<String> in your old code.

Thanks @turbanoff for the new features!

v1.1.0 with New Feature

22 Oct 04:42
Compare
Choose a tag to compare

Add feature to stop searching in the hit callback by @fatho

Thanks!

v1.0.1

09 Apr 02:38
Compare
Choose a tag to compare

Modified save & load method, with some enhancements making code more beautiful.

v1.0.0

08 Apr 15:29
Compare
Choose a tag to compare

This release has been tested in HanLP.