Interface NGramFragmentChecker.NGramConsumer
- Enclosing class:
NGramFragmentChecker
public static interface NGramFragmentChecker.NGramConsumer
A callback for n-gram ranges in words
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
processNGram
-
processNGrams
CallprocessNGram(java.lang.CharSequence, int, int)
for each fragment of the lengthn
in the given word
-