|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.stanford.nlp.ling.CoreAnnotations.EndIndexAnnotation
public static class CoreAnnotations.EndIndexAnnotation
This indexes the end of a span of words, e.g., a constituent in a
tree. See 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 Summary | |
|---|---|
CoreAnnotations.EndIndexAnnotation()
|
|
| Method Summary | |
|---|---|
java.lang.Class<java.lang.Integer> |
getType()
Returns the type associated with this annotation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoreAnnotations.EndIndexAnnotation()
| Method Detail |
|---|
public java.lang.Class<java.lang.Integer> getType()
CoreAnnotation
getType in interface CoreAnnotation<java.lang.Integer>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||