Interface NGramFragmentChecker.NGramConsumer
-
- Enclosing class:
- NGramFragmentChecker
public static interface NGramFragmentChecker.NGramConsumer
A callback for n-gram ranges in words
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
processNGram(CharSequence word, int start, int end)
default void
processNGrams(int n, CharSequence word)
CallprocessNGram(java.lang.CharSequence, int, int)
for each fragment of the lengthn
in the given word
-
-
-
Method Detail
-
processNGram
void processNGram(CharSequence word, int start, int end)
-
processNGrams
default void processNGrams(int n, CharSequence word)
CallprocessNGram(java.lang.CharSequence, int, int)
for each fragment of the lengthn
in the given word
-
-