Package | Description |
---|---|
gate | |
gate.annotation |
Modifier and Type | Method and Description |
---|---|
Node |
AnnotationSet.firstNode()
Get the node with the smallest offset
|
Node |
SimpleAnnotation.getEndNode()
The end node.
|
Node |
SimpleAnnotation.getStartNode()
The start node.
|
Node |
AnnotationSet.lastNode()
Get the node with the largest offset
|
Node |
AnnotationSet.nextNode(Node node)
Get the first node that is relevant for this annotation set and
which has the offset larger than the one of the node provided.
|
Modifier and Type | Method and Description |
---|---|
Integer |
SimpleAnnotationSet.add(Node start,
Node end,
String type,
FeatureMap features)
Create and add an annotation with pre-existing nodes, and return
its id.
|
Node |
AnnotationSet.nextNode(Node node)
Get the first node that is relevant for this annotation set and
which has the offset larger than the one of the node provided.
|
Modifier and Type | Class and Description |
---|---|
class |
NodeImpl
Provides an implementation for the interface gate.Node.
|
Modifier and Type | Field and Description |
---|---|
protected Node |
AnnotationImpl.end
The end node
|
protected Node |
AnnotationImpl.start
The start node
|
Modifier and Type | Method and Description |
---|---|
Node |
AnnotationSetImpl.firstNode()
Get the node with the smallest offset
|
Node |
AnnotationImpl.getEndNode()
The end node.
|
Node |
AnnotationImpl.getStartNode()
The start node.
|
Node |
AnnotationSetImpl.lastNode()
Get the node with the largest offset
|
Node |
AnnotationSetImpl.nextNode(Node node)
Get the first node that is relevant for this annotation set and which has
the offset larger than the one of the node provided.
|
Modifier and Type | Method and Description |
---|---|
Integer |
ImmutableAnnotationSetImpl.add(Node start,
Node end,
String type,
FeatureMap features)
The following methods throw an exception as they try to modify the state of
the object
|
Integer |
AnnotationSetImpl.add(Node start,
Node end,
String type,
FeatureMap features)
Create and add an annotation with pre-existing nodes, and return its id.
|
int |
NodeImpl.compareTo(Node other)
Ordering
|
Annotation |
AnnotationFactory.createAnnotationInSet(AnnotationSet set,
Integer id,
Node start,
Node end,
String type,
FeatureMap features)
Adds a new AnnotationImpl to the given set.
|
Annotation |
DefaultAnnotationFactory.createAnnotationInSet(AnnotationSet set,
Integer id,
Node start,
Node end,
String type,
FeatureMap features) |
Node |
AnnotationSetImpl.nextNode(Node node)
Get the first node that is relevant for this annotation set and which has
the offset larger than the one of the node provided.
|
Constructor and Description |
---|
AnnotationImpl(Integer id,
Node start,
Node end,
String type,
FeatureMap features)
Constructor.
|
Copyright © 2024 GATE. All rights reserved.