Package opennlp.tools.tokenize.lattice
Interface WhitespaceRuns.RunHandler
- Enclosing class:
WhitespaceRuns
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Receives one whitespace-free stretch of a text.
-
Method Summary
-
Method Details
-
accept
void accept(int from, int to) Handles one stretch.- Parameters:
from- The stretch start.to- The exclusive stretch end.
-