public final class OpenNlpSentenceDetector extends Object implements SentenceDetector
A sentence detector using an implementation from the OpenNLP framework.
| Constructor and Description |
|---|
OpenNlpSentenceDetector(File modelFile)
Creates a new completely initialized sentence detector.
|
public Iterator<Token> iterateTokens(String text)
iterateTokens in interface TextTokenizerCopyright © 2018. All rights reserved.