|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationGraph
NOT IN USE AT PRESENT.
Annotation graphs are defined at the LDC's annotation site
Method Summary | |
---|---|
AnnotationGraph |
getAnnotations(String type)
Get annotations by type |
AnnotationGraph |
getAnnotations(String type,
FeatureMap features)
Get annotations by type and features |
AnnotationGraph |
getAnnotations(String type,
FeatureMap features,
Long offset)
Get annotations by type, features and offset |
AnnotationGraph |
getAnnotations(String type,
Long offset)
Get annotations by type and position. |
Long |
getId()
Returns the Id of the annotation graph |
Node |
getNode(Long id)
find a node by ID |
Annotation |
newAnnotation(Long id,
long start,
long end,
String type)
|
Annotation |
newAnnotation(Long id,
Node start,
Node end,
String type)
|
Node |
putNodeAt(Long id,
long offset)
Creates a new node with the offset offset |
Method Detail |
---|
Node getNode(Long id)
AnnotationGraph getAnnotations(String type)
AnnotationGraph getAnnotations(String type, FeatureMap features)
AnnotationGraph getAnnotations(String type, Long offset)
AnnotationGraph getAnnotations(String type, FeatureMap features, Long offset)
Node putNodeAt(Long id, long offset) throws InvalidOffsetException
offset
- the offset in document where the node will point
InvalidOffsetException
Long getId()
Annotation newAnnotation(Long id, Node start, Node end, String type)
Annotation newAnnotation(Long id, long start, long end, String type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |