Package opennlp.tools.tokenize.uax29
Interface WordSegmenter.SegmentConsumer
- Enclosing class:
WordSegmenter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Receives each word segment as the half-open character range
[start, end).-
Method Summary
-
Method Details
-
accept
void accept(int start, int end) Accepts one segment.- Parameters:
start- The inclusive start character offset.end- The exclusive end character offset.
-