Package | Description |
---|---|
gate | |
gate.annotation | |
gate.corpora | |
gate.email | |
gate.gui.docview |
Modifier and Type | Method and Description |
---|---|
void |
AnnotationSet.add(Integer id,
Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation with a pre-existing ID.
|
Integer |
SimpleAnnotationSet.add(Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation and return its id.
|
void |
Document.edit(Long start,
Long end,
DocumentContent replacement)
Make changes to the document content and adapt affected annotations.
|
DocumentContent |
DocumentContent.getContent(Long start,
Long end)
Return the contents under a particular span.
|
Modifier and Type | Method and Description |
---|---|
void |
ImmutableAnnotationSetImpl.add(Integer id,
Long start,
Long end,
String type,
FeatureMap features) |
void |
AnnotationSetImpl.add(Integer id,
Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation from database read data In this case the id is
already known being previously fetched from the database
|
Integer |
AnnotationSetImpl.add(Long start,
Long end,
String type,
FeatureMap features)
Create and add an annotation and return its id
|
Modifier and Type | Method and Description |
---|---|
void |
DocumentImpl.edit(Long start,
Long end,
DocumentContent replacement)
Propagate edit changes to the document content and annotations.
|
DocumentContent |
DocumentContentImpl.getContent(Long start,
Long end) |
static void |
DocumentJsonUtils.writeDocument(Document doc,
Long start,
Long end,
Map<String,Collection<Annotation>> annotationsMap,
com.fasterxml.jackson.core.JsonGenerator json)
Write a substring of a GATE document to the specified
JsonGenerator.
|
static void |
DocumentJsonUtils.writeDocument(Document doc,
Long start,
Long end,
Map<String,Collection<Annotation>> annotationsMap,
Map<?,?> extraFeatures,
com.fasterxml.jackson.core.JsonGenerator json)
Write a substring of a GATE document to the specified
JsonGenerator.
|
static void |
DocumentJsonUtils.writeDocument(Document doc,
Long start,
Long end,
Map<String,Collection<Annotation>> annotationsMap,
Map<?,?> extraFeatures,
String annotationTypeProperty,
com.fasterxml.jackson.core.JsonGenerator json)
Write a substring of a GATE document to the specified
JsonGenerator.
|
static void |
DocumentJsonUtils.writeDocument(Document doc,
Long start,
Long end,
Map<String,Collection<Annotation>> annotationsMap,
Map<?,?> extraFeatures,
String annotationTypeProperty,
String annotationIDProperty,
com.fasterxml.jackson.core.JsonGenerator json)
Write a substring of a GATE document to the specified
JsonGenerator.
|
Modifier and Type | Method and Description |
---|---|
void |
EmailDocumentHandler.annotateMessages()
Reads the Gate Document line by line and does the folowing things:
Each line is analized in order to detect where an e-mail starts.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AnnotationEditor.moveAnnotation(AnnotationSet set,
Annotation oldAnnotation,
Long newStartOffset,
Long newEndOffset)
Changes the span of an existing annotation by creating a new annotation
with the same ID, type and features but with the new start and end offsets.
|
Copyright © 2024 GATE. All rights reserved.