public static class CoreAnnotations.EndIndexAnnotation extends Object implements CoreAnnotation<Integer>
Tree.indexSpans(int). This annotation
counts tokens. It standardly indexes from 1 (like IndexAnnotation).
The end index is not a fencepost: its value is equal to the
IndexAnnotation of the last word in the span.| Constructor and Description |
|---|
EndIndexAnnotation() |
| Modifier and Type | Method and Description |
|---|---|
Class<Integer> |
getType()
Returns the type associated with this annotation.
|
public Class<Integer> getType()
CoreAnnotationgetType in interface CoreAnnotation<Integer>