86 Commits

Author SHA1 Message Date
Dave Jarvis
ec80cc85d8
Update pom.xml
Updated pom (again) to sync version number with release number. Looks like the previous version (0.5) was released with a repeat version number (0.4).
2019-11-16 14:01:49 -08:00
Ruslan Gabdrafikov
73420a04a7 Update pom.xml (#71) 2019-11-16 13:58:29 -08:00
Umit Gunduz
413d63675b Update Trie.java (#70)
* Update Trie.java

fix firstMatch NullPointerException

* Update Trie.java

change for shorter code
2019-10-11 08:32:26 -07:00
Dave Jarvis
3ab8990aae Remove LICENSE from README 2019-09-19 17:26:54 -07:00
Dave Jarvis
25c8ee663e Added LICENSE file; removed LICENSE from README 2019-09-19 17:26:20 -07:00
Dave Jarvis
792847c830 Corrected more typos in README, text formatting 2019-09-19 17:25:17 -07:00
Dave Jarvis
864df8140f Simplified README text, examples, and corrected typos 2019-09-19 17:21:44 -07:00
Daniel Beck
9f80565b53 #49 Allow to specify Payload with Keyword (#68)
* #49: Allow to fix Payload with Keyword
v0.5.0
2019-08-19 20:16:46 -07:00
Dave Jarvis
b7cc1136e5
Merge pull request #62 from LukeButtersFunnelback/master
Stop Trie#removePartialMatches() from being expensive #61
2017-11-01 09:05:31 -07:00
Luke Butters
21a6fc5baa Changes from auto code review 2017-11-01 16:25:49 +11:00
Luke Butters
e4d87b4b07 grammer 2017-11-01 16:19:03 +11:00
Luke Butters
773ff39e48 Stop Trie#removePartialMatches() from being expensive #61
This changes the running time of `Trie#removePartialMatches()` from something that is subquadratic time or worse (I think n^3) to a running time that is linear.
2017-11-01 16:10:53 +11:00
Dave Jarvis
5acb073d06 Changes for case sensitivity
Changed README to use .ignoreCase().
2017-06-08 17:51:42 -07:00
robert-bor
d45c2ee158
v0.4.0 v0.4.0 2017-05-15 20:57:45 +02:00
robert-bor
cebd7b45bd
Merge branch 'Crystark-feature/53-allowToAckEmits' 2017-05-15 20:53:32 +02:00
robert-bor
d9a10a475a
#53 Added AbstractStatefulEmitHandler, test shows the example of usage. 2017-05-15 20:51:58 +02:00
Crystark
ea88eb987a #53 Allow to ack emits
Also allow use of isOnlyWholeWords, isOnlyWholeWordsWhiteSpaceSeparated
and isAllowOverlaps using a StatefulEmitHandler
2017-05-15 16:02:02 +02:00
Robert Bor
f3baace342 Merge pull request #54 from erictapen/small-fix
replaced usage of depr method removeOverlaps with ignoreOverlaps in Readme
2017-05-15 13:47:26 +02:00
Justin Humm
8bded03f55 replaced usage of deprecated method removeOverlaps() with ignoreOverlaps in README 2017-05-15 12:02:58 +02:00
robert-bor
f218ba40c6
new snapshot 2017-03-01 06:13:43 +01:00
robert-bor
27913abd69
v0.3.1 v0.3.1 2017-03-01 06:11:43 +01:00
robert-bor
d6893d05a3 Merge branch 'master' of https://github.com/robert-bor/aho-corasick 2016-11-30 12:17:03 +01:00
robert-bor
837247b155 Codecov badge 2016-11-30 12:16:15 +01:00
Robert Bor
3114fabffd Merge pull request #48 from robert-bor/bugfixes
Added missing override annotations. Added final modifier to Interval …
2016-11-30 12:14:21 +01:00
robert-bor
869c3aec80 Merge remote-tracking branch 'origin/bugfixes' into bugfixes 2016-11-30 12:11:11 +01:00
robert-bor
a45df04a26 Optimize imports
Reformatted code (Java convention; tab is 4 spaces)
2016-11-30 12:10:20 +01:00
djarvis
5edf6d8126 Added missing override annotations. Added final modifier to Interval member variables. Updated documentation for ignoreCase (issue #33) and moved the ignore methods to the top of the builder to reflect their preferred calling order. 2016-11-30 12:10:04 +01:00
robert-bor
255069624b Optimize imports
Reformatted code (Java convention; tab is 4 spaces)
2016-11-30 12:07:03 +01:00
Robert Bor
89e7efab72 Merge pull request #47 from robert-bor/jdk1.7
Updated source base to leverage JDK 1.7 syntax. Added more final modi…
2016-11-30 09:20:34 +01:00
robert-bor
b5aaa51fdd Optimize imports
Reformatted code (Java convention; tab is 4 spaces)
2016-11-30 09:10:21 +01:00
robert-bor
90d4645d49 Merge branch 'jdk1.7' of https://github.com/robert-bor/aho-corasick into jdk1.7 2016-11-30 09:06:52 +01:00
djarvis
503a0f1c76 Updated source base to leverage JDK 1.7 syntax. Added more final modifiers. Eliminated parameter modification inside method. Some formatting. Changed TrieBuilder to offer CharSequence instead of String; revised Trie accordingly. Removed some duplication. NetBeans automatically translated the code to use static imports (as per JDK 1.7 syntax). 2016-11-30 09:06:14 +01:00
Robert Bor
a89a6bac95 Merge pull request #46 from robert-bor/feature/badges-and-quality
Dev tooling enabled
2016-11-30 08:47:08 +01:00
djarvis
267e895059 Added missing override annotations. Added final modifier to Interval member variables. Updated documentation for ignoreCase (issue #33) and moved the ignore methods to the top of the builder to reflect their preferred calling order. 2016-11-29 22:34:55 -08:00
djarvis
2b5c2d654d Updated source base to leverage JDK 1.7 syntax. Added more final modifiers. Eliminated parameter modification inside method. Some formatting. Changed TrieBuilder to offer CharSequence instead of String; revised Trie accordingly. Removed some duplication. NetBeans automatically translated the code to use static imports (as per JDK 1.7 syntax). 2016-11-29 18:38:00 -08:00
robert-bor
a88ad48e05 Added Jacoco plugin 2016-11-29 20:00:59 +01:00
robert-bor
8ae9636201 4 spaces for code
Badges for Travis, Codacy, Codecov, Maven and Javadoc
Added Travis CI build instructions
2016-11-29 19:54:23 +01:00
Robert Bor
2f1ec8d041 Merge pull request #45 from robert-bor/simplifications
Added final modifier. Added helper methods for adding keywords using …
2016-11-29 19:15:54 +01:00
djarvis
f6a7103f5f Added final modifier. Added helper methods for adding keywords using arrays and collections. Added test for large character strings. Simplified code for adding keywords. Renamed a few methods for consistency. Some code formatting. Updated unit tests with constant arrays, as a first step to reducing the duplication in the unit tests; migrated away from deprecated methods. 2016-11-28 21:20:57 -08:00
Robert Bor
8c422583b5 Merge pull request #44 from DaveJarvis/patch-1
Added source code comments.
2016-11-28 07:58:29 +01:00
Dave Jarvis
69781c0ae8 Added source code comments.
Added source code comments that should be useful for developers looking for more details.
2016-11-27 17:38:33 -08:00
robert-bor
5203efbbcb Extra explanation on containsMatch 2015-09-23 20:56:24 +02:00
robert-bor
a46177415f Updated README.md documentation 2015-09-23 08:39:13 +02:00
robert-bor
e365689391 v0.3.0 v0.3.0 2015-09-22 22:27:30 +02:00
robert-bor
dc27d6e3e9 pull #17 changes adopted to implement a whole word check on the entire keyword, including whitespaces. 2015-09-22 22:22:20 +02:00
robert-bor
76ae8222ea issue #12 adopted the suggestion by yim1990 with a small change, so that the keyword emit is lowercased as well 2015-09-22 22:10:19 +02:00
robert-bor
e2c5334234 pull #14 implemented pull request by rripken for containsMatch and firstMatch 2015-09-22 22:02:30 +02:00
robert-bor
4633b1ba2a Merge branch 'rripken-master' into feature/footprint-reduction
Conflicts:
	src/main/java/org/ahocorasick/trie/Trie.java
	src/test/java/org/ahocorasick/trie/TrieTest.java
2015-09-22 20:38:29 +02:00
robert-bor
30f003c5ae Issue #18 fixed link to broken PDF, now points to http://cr.yp.to/bib/1975/aho.pdf 2015-09-22 20:22:24 +02:00
robert-bor
c18e030459 Merge branch 'SubOptimal-contrib' into feature/footprint-reduction 2015-09-22 20:18:52 +02:00