|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleAnnotation
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 |
---|
String getType()
Node getStartNode()
Node getEndNode()
int compareTo(Object o) throws ClassCastException
compareTo
in interface Comparable
ClassCastException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |