5edf6d8126Added 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.
djarvis
2016-11-29 22:34:55 -08:00
503a0f1c76Updated 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).
djarvis
2016-11-29 18:38:00 -08:00
a89a6bac95Merge pull request #46 from robert-bor/feature/badges-and-quality
Robert Bor
2016-11-30 08:47:08 +01:00
267e895059Added 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.
djarvis
2016-11-29 22:34:55 -08:00
2b5c2d654dUpdated 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).
djarvis
2016-11-29 18:38:00 -08:00
8ae96362014 spaces for code Badges for Travis, Codacy, Codecov, Maven and Javadoc Added Travis CI build instructions
robert-bor
2016-11-29 19:54:23 +01:00
2f1ec8d041Merge pull request #45 from robert-bor/simplifications
Robert Bor
2016-11-29 19:15:54 +01:00
f6a7103f5fAdded 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.
djarvis
2016-11-28 21:20:57 -08:00
8c422583b5Merge pull request #44 from DaveJarvis/patch-1
Robert Bor
2016-11-28 07:58:29 +01:00
69781c0ae8Added source code comments.
Dave Jarvis
2016-11-27 17:38:33 -08:00
b1c1ad4d71Fix unicode issue which caused wrong emit start/end
issue40_master
Ahmed Sobhi
2016-08-22 02:01:40 +01:00
b11c655ccfMerge pull request #1 from stillleben/heartbeat
Douglas Lovell
2016-08-03 14:38:57 -06:00
165f18e581Remove unused varables, remove duplicate tests (both "nonOverlappingWordTransitions" and "nonOverlappingWholeWords" contain exactly the same code)
Benni
2016-02-17 18:05:42 +01:00
06675a6074Add support for punctuation in text: Those characters will form a separate token now.
Benni
2016-02-17 17:56:11 +01:00
3839e406cewe want the keywords back in all cases after all, but the start and end indexes refer to the text
Douglas Lovell
2015-11-02 17:50:27 -07:00
d764017abeuse word transitions for whole word only mode
Douglas Lovell
2015-11-02 17:14:28 -07:00
f89b000894progress on leading and trailing white space problem
Douglas Lovell
2015-11-02 11:49:44 -07:00
9aa9695d38version change for heartbeat changes
Douglas Lovell
2015-11-02 11:49:14 -07:00
c0d89cec2dadd a few word transition tests
Douglas Lovell
2015-10-30 16:25:04 -06:00
f9c2d9d4aaall the tests pass
Douglas Lovell
2015-10-30 15:03:06 -06:00
b7bb0cbf5bput text positions on the transitions and track in the token stream
Douglas Lovell
2015-10-30 10:58:15 -06:00
dd5f9b25fafix the off by ones
Douglas Lovell
2015-10-29 15:29:44 -06:00
7514478a65Make the transition token the hash key for a transition
Douglas Lovell
2015-10-29 15:28:23 -06:00
8560af8ccetest trie in word transition mode
Douglas Lovell
2015-10-28 17:03:29 -06:00
51940af6e7test state with word transitions
Douglas Lovell
2015-10-28 16:57:37 -06:00
1f63ae71d4StringBuffer, StringIterator are old school
Douglas Lovell
2015-10-28 16:56:27 -06:00
4be3e115b6add builder method for setting word transitions
Douglas Lovell
2015-10-28 14:10:53 -06:00
a646f233a5improve the option name
Douglas Lovell
2015-10-28 11:17:46 -06:00
f05026cf90added word transitions. all tests pass
Douglas Lovell
2015-10-28 10:59:45 -06:00
6283bf039dfirst pass refactoring for word transitions
Douglas Lovell
2015-10-27 16:55:35 -06:00
3393e4f51fIssue #26 tokens report if they are 100% whitespace
robert-bor
2015-09-27 20:56:04 +02:00
438e546245Issue #25 match tokens report back whether they are whole words or not
robert-bor
2015-09-27 18:22:38 +02:00