public interface SimpleAnnotation extends FeatureBearer, IdBearer, Comparable<Object>, Serializable
Changes from TIPSTER: no ID; single span only. SimpleAnnotation was introduced to simplify the API of annotations
Modifier and Type | Method and Description |
---|---|
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").
|
getFeatures, setFeatures
String getType()
Node getStartNode()
Node getEndNode()
int compareTo(Object o) throws ClassCastException
compareTo
in interface Comparable<Object>
ClassCastException
Copyright © 2024 GATE. All rights reserved.