public static interface AhoCorasickDoubleArrayTrie.IHitFull<V>
| Modifier and Type | Method and Description |
|---|---|
void |
hit(int begin,
int end,
V value,
int index)
Hit a keyword, you can use some code like text.substring(begin, end) to get the keyword
|
void hit(int begin,
int end,
V value,
int index)
begin - the beginning index, inclusive.end - the ending index, exclusive.value - the value assigned to the keywordindex - the index of the value assigned to the keyword, you can use the integer as a perfect hash valueCopyright © 2014–2015 APDPlat. All rights reserved.