public class OpenNLPSentenceAnnotator extends AbstractSentenceAnnotator
SentenceDetectorME backed by a SentenceModel loaded from the
resource located at: SENTENCE_MODEL_PROP| Modifier and Type | Field and Description |
|---|---|
static String |
SENTENCE_MODEL_DEFAULT |
static String |
SENTENCE_MODEL_PROP
Property name pointing to the sentence model
|
| Constructor and Description |
|---|
OpenNLPSentenceAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
protected List<SentenceAnnotation> |
getSentenceAnnotations(String text) |
performAnnotationannotatepublic static final String SENTENCE_MODEL_PROP
public static final String SENTENCE_MODEL_DEFAULT
public OpenNLPSentenceAnnotator()
protected List<SentenceAnnotation> getSentenceAnnotations(String text)
getSentenceAnnotations in class AbstractSentenceAnnotator