Example usage for Java opennlp.tools.sentdetect SentenceDetectorME fields, constructors, methods, implement or subclass
The text is from its open source code.
SentenceDetectorME(SentenceModel model) Initializes the current instance. |
String[] | sentDetect(String s) Detect sentences in a String. |
Span[] | sentPosDetect(String s) Detect the position of the first words of sentences in a String. |
SentenceModel | train(String languageCode, ObjectStream |
SentenceModel | train(String languageCode, ObjectStream |