|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An Annotation is an arc in an AnnotationSet. It is immutable, to avoid the situation where each annotation has to point to its parent graph in order to tell it to update its indices when it changes.
Changes from TIPSTER: no ID; single span only. SimpleAnnotation was introduced to simplify the API of annotations
| Method Summary | |
int |
compareTo(Object o)
Ordering |
Node |
getEndNode()
The end node. |
Node |
getStartNode()
The start node. |
String |
getType()
The type of the annotation (corresponds to TIPSTER "name"). |
| Methods inherited from interface gate.util.FeatureBearer |
getFeatures, setFeatures |
| Methods inherited from interface gate.util.IdBearer |
getId |
| Method Detail |
public String getType()
public Node getStartNode()
public Node getEndNode()
public int compareTo(Object o)
throws ClassCastException
compareTo in interface ComparableClassCastException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||