Package opennlp.tools.tokenize.uax29
Interface WordTokenizer.TokenHandler
- Enclosing class:
WordTokenizer
- 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 token as a character range and its type, with no allocation.
-
Method Summary
-
Method Details
-
token
Accepts one word token.- Parameters:
start- The inclusive start character offset.end- The exclusive end character offset.type- The token category.
-