public class SimpleSentenceDetector extends Object implements SentenceDetector
SentenceDetector that identifies
sentences based on the presence of periods. Usage is not
generally recommended.| Constructor and Description |
|---|
SimpleSentenceDetector() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getLanguageCodes() |
String[] |
sentDetect(String text) |
Span[] |
sentPosDetect(String text) |
public List<String> getLanguageCodes()
getLanguageCodes in interface SentenceDetectorpublic Span[] sentPosDetect(String text)
sentPosDetect in interface SentenceDetectorpublic String[] sentDetect(String text)
sentDetect in interface SentenceDetectorCopyright © 2018. All rights reserved.