public class SentenceAnnotation extends RawTextAnnotation
SentenceAnnotation is an extension of RawTextAnnotation as
its function is to encapsulate a substring of raw text.| Modifier and Type | Field and Description |
|---|---|
int |
start |
int |
stop |
text| Constructor and Description |
|---|
SentenceAnnotation(String rawText) |
SentenceAnnotation(String rawText,
int start,
int stop) |
addAllAnnotations, addAnnotation, getAnnotationKeyList, getAnnotationsForpublic SentenceAnnotation(String rawText, int start, int stop)
public SentenceAnnotation(String rawText)