|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AnnotationSet | |
---|---|
gate | This package contains the public interface to the GATE Java API. |
gate.annotation | |
gate.corpora | |
gate.creole | |
gate.creole.dumpingPR | |
gate.creole.gazetteer | |
gate.creole.nerc | |
gate.creole.orthomatcher | |
gate.creole.orthomatcher.SampleOrthoMatcher | |
gate.event | |
gate.fsm | |
gate.gui | |
gate.gui.annedit | |
gate.gui.docview | |
gate.html | |
gate.jape | |
gate.jape.constraint | |
gate.jape.functest | |
gate.util | |
gate.xml |
Uses of AnnotationSet in gate |
---|
Methods in gate that return AnnotationSet | |
---|---|
static AnnotationSet |
Factory.createImmutableAnnotationSet(Document document,
Collection<Annotation> annotations)
Utility method to create an immutable annotation set. |
AnnotationSet |
SimpleAnnotationSet.get()
Get a copy of this annotation set. |
AnnotationSet |
AnnotationSet.get(Long offset)
Select annotations by offset. |
AnnotationSet |
AnnotationSet.get(Long startOffset,
Long endOffset)
Select annotations by offset. |
AnnotationSet |
SimpleAnnotationSet.get(Set<String> types)
Select annotations by a set of types. |
AnnotationSet |
SimpleAnnotationSet.get(String type)
Select annotations by type. |
AnnotationSet |
AnnotationSet.get(String type,
FeatureMap constraints)
Select annotations by type and feature values. |
AnnotationSet |
AnnotationSet.get(String type,
FeatureMap constraints,
Long offset)
Select annotations by type, features and offset. |
AnnotationSet |
AnnotationSet.get(String type,
Long startOffset,
Long endOffset)
Select annotations by offset and type. |
AnnotationSet |
AnnotationSet.get(String type,
Set featureNames)
Select annotations by type and feature names It returns all annotations of the given type that have the given set of features, regardless of their concrete values If the type == null, then select regardless of type |
AnnotationSet |
SimpleDocument.getAnnotations()
Get the default set of annotations. |
AnnotationSet |
SimpleDocument.getAnnotations(String name)
Get a named set of annotations. |
static AnnotationSet |
Utils.getAnnotationsAtOffset(AnnotationSet annotationSet,
Long atOffset)
Return a the subset of annotations from the given annotation set that start exactly at the given offset. |
AnnotationSet |
AnnotationSet.getContained(Long startOffset,
Long endOffset)
Select annotations by offset. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
Annotation containingAnnotation)
Get all the annotations from the source annotation set that lie within the range of the containing annotation. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet containingAnnotationSet)
Get all the annotations from the source annotation set that lie within the range of the containing annotation set, i.e. within the offset range between the start of the first annotation in the containing set and the end of the last annotation in the annotation set. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet containingAnnotationSet,
String targetType)
Get all the annotations from the source annotation set with a type equal to targetType that lie within the range of the containing annotation set, i.e. within the offset range between the start of the first annotation in the containing set and the end of the last annotation in the annotation set. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
Annotation containingAnnotation,
String targetType)
Get all the annotations of type targetType from the source annotation set that lie within the range of the containing annotation. |
AnnotationSet |
AnnotationSet.getCovering(String neededType,
Long startOffset,
Long endOffset)
Select annotations of the given type that complete span the range. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
Annotation coveredAnnotation)
Get all the annotations from the source annotation set that cover the range of the specified annotation. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet coveredAnnotationSet)
Get all the annotations from the source annotation set that cover the range of the specified annotation set. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet coveredAnnotationSet,
String targetType)
Get all the annotations from the source annotation set with a type equal to targetType that cover the range of the specified annotation set. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
Annotation coveredAnnotation,
String targetType)
Get all the annotations of type targetType from the source annotation set that cover the range of the specified annotation. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
Annotation overlappedAnnotation)
Get all the annotations from the source annotation set that partly or totally overlap the range of the specified annotation. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet overlappedAnnotationSet)
Get all the annotations from the source annotation set that overlap the range of the specified annotation set. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet overlappedAnnotationSet,
String targetType)
Get all the annotations from the source annotation set with a type equal to targetType that partly or completely overlap the range of the specified annotation set. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
Annotation overlappedAnnotation,
String targetType)
Get all the annotations of type targetType from the source annotation set that partly or totally overlap the range of the specified annotation. |
Methods in gate that return types with arguments of type AnnotationSet | |
---|---|
Map<String,AnnotationSet> |
Document.getNamedAnnotationSets()
Returns a map with the named annotation sets |
Methods in gate with parameters of type AnnotationSet | |
---|---|
static String |
Utils.cleanStringFor(Document doc,
AnnotationSet anns)
Return the cleaned document text as a String covered by the given annotation set. |
static DocumentContent |
Utils.contentFor(SimpleDocument doc,
AnnotationSet anns)
Return the DocumentContent covered by the given annotation set. |
static Long |
Utils.end(AnnotationSet as)
Get the end offset of an annotation set. |
static AnnotationSet |
Utils.getAnnotationsAtOffset(AnnotationSet annotationSet,
Long atOffset)
Return a the subset of annotations from the given annotation set that start exactly at the given offset. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
Annotation containingAnnotation)
Get all the annotations from the source annotation set that lie within the range of the containing annotation. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet containingAnnotationSet)
Get all the annotations from the source annotation set that lie within the range of the containing annotation set, i.e. within the offset range between the start of the first annotation in the containing set and the end of the last annotation in the annotation set. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet containingAnnotationSet,
String targetType)
Get all the annotations from the source annotation set with a type equal to targetType that lie within the range of the containing annotation set, i.e. within the offset range between the start of the first annotation in the containing set and the end of the last annotation in the annotation set. |
static AnnotationSet |
Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet,
Annotation containingAnnotation,
String targetType)
Get all the annotations of type targetType from the source annotation set that lie within the range of the containing annotation. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
Annotation coveredAnnotation)
Get all the annotations from the source annotation set that cover the range of the specified annotation. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet coveredAnnotationSet)
Get all the annotations from the source annotation set that cover the range of the specified annotation set. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet coveredAnnotationSet,
String targetType)
Get all the annotations from the source annotation set with a type equal to targetType that cover the range of the specified annotation set. |
static AnnotationSet |
Utils.getCoveringAnnotations(AnnotationSet sourceAnnotationSet,
Annotation coveredAnnotation,
String targetType)
Get all the annotations of type targetType from the source annotation set that cover the range of the specified annotation. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
Annotation overlappedAnnotation)
Get all the annotations from the source annotation set that partly or totally overlap the range of the specified annotation. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet overlappedAnnotationSet)
Get all the annotations from the source annotation set that overlap the range of the specified annotation set. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
AnnotationSet overlappedAnnotationSet,
String targetType)
Get all the annotations from the source annotation set with a type equal to targetType that partly or completely overlap the range of the specified annotation set. |
static AnnotationSet |
Utils.getOverlappingAnnotations(AnnotationSet sourceAnnotationSet,
Annotation overlappedAnnotation,
String targetType)
Get all the annotations of type targetType from the source annotation set that partly or totally overlap the range of the specified annotation. |
static List<Annotation> |
Utils.inDocumentOrder(AnnotationSet as)
Return a List containing the annotations in the given annotation set, in document order (i.e. increasing order of start offset). |
static Long |
Utils.start(AnnotationSet as)
Get the start offset of an annotation set. |
static String |
Utils.stringFor(Document doc,
AnnotationSet anns)
Return the document text as a String covered by the given annotation set. |
Uses of AnnotationSet in gate.annotation |
---|
Subinterfaces of AnnotationSet in gate.annotation | |
---|---|
interface |
EventAwareAnnotationSet
|
Classes in gate.annotation that implement AnnotationSet | |
---|---|
class |
AnnotationSetImpl
Implementation of AnnotationSet. |
class |
ImmutableAnnotationSetImpl
|
Fields in gate.annotation declared as AnnotationSet | |
---|---|
protected AnnotationSet |
TestAnnotation.basicAS
An annotation set |
static AnnotationSet |
AnnotationSetImpl.emptyAnnotationSet
|
Methods in gate.annotation that return AnnotationSet | |
---|---|
AnnotationSet |
AnnotationSetImpl.get()
Get all annotations. |
AnnotationSet |
AnnotationSetImpl.get(Long offset)
Select annotations by offset. |
AnnotationSet |
AnnotationSetImpl.get(Long startOffset,
Long endOffset)
Select annotations by offset. |
AnnotationSet |
AnnotationSetImpl.get(Set<String> types)
Select annotations by a set of types. |
AnnotationSet |
AnnotationSetImpl.get(String type)
Select annotations by type |
AnnotationSet |
AnnotationSetImpl.get(String type,
FeatureMap constraints)
Select annotations by type and features This will return an annotation set containing just those annotations of a particular type (i.e. with a particular name) and which have features with specific names and values. |
AnnotationSet |
AnnotationSetImpl.get(String type,
FeatureMap constraints,
Long offset)
Select annotations by type, features and offset |
AnnotationSet |
AnnotationSetImpl.get(String neededType,
Long startOffset,
Long endOffset)
Select annotations by offset. |
AnnotationSet |
AnnotationSetImpl.get(String type,
Set featureNames)
Select annotations by type and feature names |
AnnotationSet |
AnnotationSetImpl.getContained(Long startOffset,
Long endOffset)
Select annotations contained within an interval, i.e. |
AnnotationSet |
AnnotationSetImpl.getCovering(String neededType,
Long startOffset,
Long endOffset)
Select annotations of the given type that completely span the range. |
AnnotationSet |
AnnotationSetImpl.getStrict(Long startOffset,
Long endOffset)
Select annotations by offset. |
Methods in gate.annotation with parameters of type AnnotationSet | |
---|---|
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)
|
Constructors in gate.annotation with parameters of type AnnotationSet | |
---|---|
AnnotationSetImpl(AnnotationSet c)
Construction from an existing AnnotationSet |
Uses of AnnotationSet in gate.corpora |
---|
Fields in gate.corpora declared as AnnotationSet | |
---|---|
protected AnnotationSet |
DocumentImpl.defaultAnnots
The default annotation set |
Fields in gate.corpora with type parameters of type AnnotationSet | |
---|---|
protected Map<String,AnnotationSet> |
DocumentImpl.namedAnnotSets
Named sets of annotations |
Methods in gate.corpora that return AnnotationSet | |
---|---|
AnnotationSet |
DocumentImpl.getAnnotations()
Get the default set of annotations. |
AnnotationSet |
DocumentImpl.getAnnotations(String name)
Get a named set of annotations. |
Methods in gate.corpora that return types with arguments of type AnnotationSet | |
---|---|
Map<String,AnnotationSet> |
DocumentImpl.getNamedAnnotationSets()
Returns a map with the named annotation sets. |
Methods in gate.corpora with parameters of type AnnotationSet | |
---|---|
static void |
DocumentXmlUtils.annotationSetToXml(AnnotationSet anAnnotationSet,
StringBuffer buffer)
Converts the Annotation set to XML which is appended to the supplied StringBuffer instance. |
static void |
DocumentXmlUtils.annotationSetToXml(AnnotationSet anAnnotationSet,
String annotationSetNameToUse,
StringBuffer buffer)
Converts the Annotation set to XML which is appended to the supplied StringBuffer instance. |
static Boolean |
DocumentStaxUtils.readAnnotationSet(XMLStreamReader xsr,
AnnotationSet annotationSet,
Map<Integer,Long> nodeIdToOffsetMap,
Set<Integer> allAnnotIds,
Boolean requireAnnotationIds)
Processes an AnnotationSet element from the given reader and fills the given annotation set with the corresponding annotations. |
static void |
DocumentStaxUtils.readXces(InputStream is,
AnnotationSet as)
Read XML data in XCES format from the given stream and add the corresponding annotations to the given annotation set. |
static void |
DocumentStaxUtils.readXces(XMLStreamReader xsr,
AnnotationSet as)
Read XML data in XCES format from the given reader and add the corresponding annotations to the given annotation set. |
void |
DocumentImpl.setDefaultAnnotations(AnnotationSet defaultAnnotations)
This method added by Shafirin Andrey, to allow access to protected member DocumentImpl.defaultAnnots Required for JAPE-Debugger. |
static void |
TestDocument.verifyNodeIdConsistency(AnnotationSet annotSet,
Map offests2NodeId,
Document doc)
This metod runs the test over an annotation Set. |
static void |
DocumentStaxUtils.writeAnnotationSet(AnnotationSet annotations,
String asName,
XMLStreamWriter xsw,
String namespaceURI)
Retained for binary compatibility, new code should call the Collection<Annotation> version instead. |
static void |
DocumentStaxUtils.writeAnnotationSet(AnnotationSet annotations,
XMLStreamWriter xsw,
String namespaceURI)
Writes the given annotation set to an XMLStreamWriter as GATE XML format. |
Uses of AnnotationSet in gate.creole |
---|
Methods in gate.creole that return AnnotationSet | |
---|---|
AnnotationSet |
AnnotationVisualResource.getAnnotationSetCurrentlyEdited()
|
Methods in gate.creole with parameters of type AnnotationSet | |
---|---|
protected void |
GazetteerListsCollector.collectLists(AnnotationSet annots,
String annotType)
|
protected boolean |
TestPR.TestConstraintPredicate.doMatch(Object value,
AnnotationSet context)
|
void |
AnnotationVisualResource.editAnnotation(Annotation ann,
AnnotationSet set)
Changes the annotation currently being edited. |
Object |
TestPR.TestAnnotationAccessor.getValue(Annotation annot,
AnnotationSet context)
|
Uses of AnnotationSet in gate.creole.dumpingPR |
---|
Methods in gate.creole.dumpingPR that return AnnotationSet | |
---|---|
protected AnnotationSet |
DumpingPR.renameAnnotations(AnnotationSet annots2Export,
HashMap renameMap)
|
Methods in gate.creole.dumpingPR with parameters of type AnnotationSet | |
---|---|
protected AnnotationSet |
DumpingPR.renameAnnotations(AnnotationSet annots2Export,
HashMap renameMap)
|
protected void |
DumpingPR.write2File(AnnotationSet exportSet)
|
Uses of AnnotationSet in gate.creole.gazetteer |
---|
Methods in gate.creole.gazetteer with parameters of type AnnotationSet | |
---|---|
protected void |
DefaultGazetteer.createLookups(FSMState matchingState,
long matchedRegionStart,
long matchedRegionEnd,
AnnotationSet annotationSet)
Creates the Lookup annotations according to a gazetteer match. |
Uses of AnnotationSet in gate.creole.nerc |
---|
Constructors in gate.creole.nerc with parameters of type AnnotationSet | |
---|---|
EntitySet(String fileName,
Document document,
AnnotationSet annotationSet)
Constructs an entity set from a Gate annotation set |
Uses of AnnotationSet in gate.creole.orthomatcher |
---|
Fields in gate.creole.orthomatcher declared as AnnotationSet | |
---|---|
protected AnnotationSet |
OrthoMatcher.nameAllAnnots
|
Methods in gate.creole.orthomatcher with parameters of type AnnotationSet | |
---|---|
HashSet |
AnnotationOrthography.buildTables(AnnotationSet nameAllAnnots)
|
HashSet |
BasicAnnotationOrthography.buildTables(AnnotationSet nameAllAnnots)
Tables for namematch info (used by the namematch rules) |
boolean |
AnnotationOrthography.matchedAlready(Annotation annot1,
Annotation annot2,
List matchesDocFeature,
AnnotationSet nameAllAnnots)
|
boolean |
BasicAnnotationOrthography.matchedAlready(Annotation annot1,
Annotation annot2,
List matchesDocFeature,
AnnotationSet nameAllAnnots)
|
protected static void |
OrthoMatcherHelper.setMatchesPositions(AnnotationSet nameAllAnnots)
|
String |
AnnotationOrthography.stripPersonTitle(String annotString,
Annotation annot,
Document doc,
Map<Integer,List<Annotation>> tokensMap,
HashMap normalizedTokensMap,
AnnotationSet nameAllAnnots)
|
String |
BasicAnnotationOrthography.stripPersonTitle(String annotString,
Annotation annot,
Document doc,
Map<Integer,List<Annotation>> tokensMap,
HashMap normalizedTokensMap,
AnnotationSet nameAllAnnots)
Return a person name without a title. |
void |
AnnotationOrthography.updateMatches(Annotation newAnnot,
Annotation prevAnnot,
List matchesDocFeature,
AnnotationSet nameAllAnnots)
|
void |
BasicAnnotationOrthography.updateMatches(Annotation newAnnot,
Annotation prevAnnot,
List matchesDocFeature,
AnnotationSet nameAllAnnots)
|
Annotation |
AnnotationOrthography.updateMatches(Annotation newAnnot,
String annotString,
HashMap processedAnnots,
AnnotationSet nameAllAnnots,
List matchesDocFeature)
|
Annotation |
BasicAnnotationOrthography.updateMatches(Annotation newAnnot,
String annotString,
HashMap processedAnnots,
AnnotationSet nameAllAnnots,
List matchesDocFeature)
|
Uses of AnnotationSet in gate.creole.orthomatcher.SampleOrthoMatcher |
---|
Methods in gate.creole.orthomatcher.SampleOrthoMatcher with parameters of type AnnotationSet | |
---|---|
HashSet |
SampleAnnotationOrthography.buildTables(AnnotationSet nameAllAnnots)
|
boolean |
SampleAnnotationOrthography.matchedAlready(Annotation annot1,
Annotation annot2,
List matchesDocFeature,
AnnotationSet nameAllAnnots)
|
String |
SampleAnnotationOrthography.stripPersonTitle(String annotString,
Annotation annot,
Document doc,
Map<Integer,List<Annotation>> tokensMap,
HashMap normalizedTokensMap,
AnnotationSet nameAllAnnots)
|
void |
SampleAnnotationOrthography.updateMatches(Annotation newAnnot,
Annotation prevAnnot,
List matchesDocFeature,
AnnotationSet nameAllAnnots)
|
Annotation |
SampleAnnotationOrthography.updateMatches(Annotation newAnnot,
String annotString,
HashMap processedAnnots,
AnnotationSet nameAllAnnots,
List matchesDocFeature)
|
Uses of AnnotationSet in gate.event |
---|
Constructors in gate.event with parameters of type AnnotationSet | |
---|---|
AnnotationSetEvent(AnnotationSet source,
int type,
Document sourceDocument,
Annotation annotation)
Constructor. |
Uses of AnnotationSet in gate.fsm |
---|
Methods in gate.fsm that return types with arguments of type AnnotationSet | |
---|---|
HashMap<String,AnnotationSet> |
FSMInstance.getBindings()
Gets the map representing the bindings that took place during the matching process this FSM instance performed. |
Method parameters in gate.fsm with type arguments of type AnnotationSet | |
---|---|
static FSMInstance |
FSMInstance.getNewInstance(FSM supportGraph,
State FSMPosition,
Node startNode,
Node AGPosition,
HashMap<String,AnnotationSet> bindings,
Document doc)
Static method that provides new FSM instances. |
Constructor parameters in gate.fsm with type arguments of type AnnotationSet | |
---|---|
FSMInstance(FSM supportGraph,
State FSMPosition,
Node startNode,
Node AGPosition,
HashMap<String,AnnotationSet> bindings,
Document document)
Creates a new FSMInstance object. |
Uses of AnnotationSet in gate.gui |
---|
Fields in gate.gui declared as AnnotationSet | |
---|---|
protected AnnotationSet |
SyntaxTreeViewer.currentSet
|
protected AnnotationSet |
AnnotationDiffGUI.keySet
|
protected AnnotationSet |
AnnotationDiffGUI.resSet
|
protected AnnotationSet |
SyntaxTreeViewer.treeAnnotations
|
Fields in gate.gui with type parameters of type AnnotationSet | |
---|---|
protected List<AnnotationSet> |
AnnotationDiffGUI.keySets
|
protected List<AnnotationSet> |
AnnotationDiffGUI.resSets
|
Methods in gate.gui that return AnnotationSet | |
---|---|
AnnotationSet |
SyntaxTreeViewer.getAnnotationSetCurrentlyEdited()
|
Methods in gate.gui with parameters of type AnnotationSet | |
---|---|
void |
SyntaxTreeViewer.editAnnotation(Annotation ann,
AnnotationSet set)
Used when the viewer/editor has to display/edit an existing annotation |
static boolean |
STreeNode.transferAnnotations(Document doc,
AnnotationSet targetAS)
Transfers the annotations from added to the given annotation set Also, for each annotation in removed, removes it from the given annotation set Called by OkAction() in the treeViewer to finalise the changes. |
Uses of AnnotationSet in gate.gui.annedit |
---|
Fields in gate.gui.annedit declared as AnnotationSet | |
---|---|
protected AnnotationSet |
SchemaAnnotationEditor.annSet
The annotation set containing the currently edited annotation. |
Methods in gate.gui.annedit that return AnnotationSet | |
---|---|
AnnotationSet |
AnnotationData.getAnnotationSet()
Gets the AnnotationSet object containing the annotation stored
by this structure. |
AnnotationSet |
AnnotationDataImpl.getAnnotationSet()
|
AnnotationSet |
SchemaAnnotationEditor.getAnnotationSetCurrentlyEdited()
|
Methods in gate.gui.annedit with parameters of type AnnotationSet | |
---|---|
void |
AnnotationEditorOwner.annotationChanged(Annotation ann,
AnnotationSet set,
String oldType)
Called by the annotation editor when an annotation has been changed. |
void |
SchemaAnnotationEditor.editAnnotation(Annotation ann,
AnnotationSet set)
|
protected void |
SchemaAnnotationEditor.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. |
Constructors in gate.gui.annedit with parameters of type AnnotationSet | |
---|---|
AnnotationDataImpl(AnnotationSet set,
Annotation ann)
|
Uses of AnnotationSet in gate.gui.docview |
---|
Fields in gate.gui.docview declared as AnnotationSet | |
---|---|
protected AnnotationSet |
AnnotationEditor.set
The parent set of the current annotation. |
Methods in gate.gui.docview that return AnnotationSet | |
---|---|
AnnotationSet |
AnnotationEditor.getAnnotationSetCurrentlyEdited()
|
Methods in gate.gui.docview with parameters of type AnnotationSet | |
---|---|
AnnotationDataImpl |
AnnotationListView.addAnnotation(Annotation ann,
AnnotationSet set)
Adds an annotation to be displayed in the list. |
List<AnnotationData> |
AnnotationListView.addAnnotations(List<Annotation> annotations,
AnnotationSet set)
Adds a batch of annotations in one go. |
void |
AnnotationListView.annotationChanged(Annotation ann,
AnnotationSet set,
String oldType)
|
void |
AnnotationSetsView.annotationChanged(Annotation ann,
AnnotationSet set,
String oldType)
|
void |
AnnotationEditor.editAnnotation(Annotation ann,
AnnotationSet set)
|
Annotation |
CorefEditor.findOutTheLongestAnnotation(ArrayList matches,
AnnotationSet set)
Given arrayList containing Ids of the annotations, and an annotationSet, this method returns the annotations that has longest string among the matches |
List<Action> |
AnnotationListView.getGenericEditorActions(AnnotationSet set,
Annotation annotation)
|
List<Action> |
AnnotationListView.getSpecificEditorActions(AnnotationSet set,
Annotation annotation)
|
void |
OntologyClassView.highlightInstance(AnnotationSet set,
Annotation annotation,
OClass oClass,
JTree tree)
To see if it's worth using it to optimise highlights display. |
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. |
void |
AnnotationSetsView.selectAnnotation(Annotation ann,
AnnotationSet annSet)
Sets a particular annotation as selected. |
Constructors in gate.gui.docview with parameters of type AnnotationSet | |
---|---|
AnnotationListView.EditAnnotationAction(AnnotationSet set,
Annotation ann,
AnnotationVisualResource editor)
|
Uses of AnnotationSet in gate.html |
---|
Constructors in gate.html with parameters of type AnnotationSet | |
---|---|
HtmlDocumentHandler(Document aDocument,
Map aMarkupElementsMap,
AnnotationSet anAnnotationSet)
Constructor initialises all the private memeber data |
|
NekoHtmlDocumentHandler(Document aDocument,
AnnotationSet anAnnotationSet,
Set<String> ignorableTags)
Constructor initialises all the private memeber data |
Uses of AnnotationSet in gate.jape |
---|
Methods in gate.jape with parameters of type AnnotationSet | |
---|---|
void |
RhsAction.doit(Document doc,
Map<String,AnnotationSet> bindings,
AnnotationSet annotations,
AnnotationSet inputAS,
AnnotationSet outputAS,
Ontology ontology)
Fires the RHS action for a particular LHS match. |
protected boolean |
SinglePhaseTransducer.fireRule(List<FSMInstance> acceptingFSMInstances,
SinglePhaseTransducer.SearchState state,
long lastNodeOff,
SimpleSortedSet offsets,
AnnotationSet inputAS,
AnnotationSet outputAS,
Document doc,
SimpleSortedSet annotationsByOffset)
Fire the rule that matched. |
boolean |
Constraint.matches(Annotation annot,
AnnotationSet context)
Test if an annotation is of the proper type for this constraint and if it complies with the ConstraintPredicate s of this
constraint. |
boolean |
Constraint.matches(Annotation annot,
Ontology ontologyLR,
AnnotationSet context)
Test if an annotation is of the proper type for this constraint and if it complies with the ConstraintPredicate s of this
constraint. |
List<Annotation> |
Constraint.matches(Collection<Annotation> annots,
Ontology ontology,
AnnotationSet context)
Invoke Constraint.matches(Annotation, Ontology, AnnotationSet) on all provided
annotations. |
void |
Batch.transduce(Document doc,
AnnotationSet inputAS,
AnnotationSet outputAS)
Process a single document. |
void |
MultiPhaseTransducer.transduce(Document doc,
AnnotationSet input,
AnnotationSet output)
Transduce the document by running each phase in turn. |
void |
Rule.transduce(Document doc,
AnnotationSet inputAS,
AnnotationSet outputAS)
Apply the RHS of this rule (LHS must have been matched first). |
void |
SinglePhaseTransducer.transduce(Document doc,
AnnotationSet inputAS,
AnnotationSet outputAS)
Transduce a document using the annotation set provided and the current rule application style. |
abstract void |
Transducer.transduce(Document doc,
AnnotationSet inputAS,
AnnotationSet outputAS)
Transduce a document. |
void |
RightHandSide.transduce(Document doc,
Map<String,AnnotationSet> bindings,
AnnotationSet inputAS,
AnnotationSet outputAS,
Ontology ontology,
ActionContext actionContext)
Makes changes to the document, using LHS bindings. |
Method parameters in gate.jape with type arguments of type AnnotationSet | |
---|---|
void |
RhsAction.doit(Document doc,
Map<String,AnnotationSet> bindings,
AnnotationSet annotations,
AnnotationSet inputAS,
AnnotationSet outputAS,
Ontology ontology)
Fires the RHS action for a particular LHS match. |
void |
RightHandSide.transduce(Document doc,
Map<String,AnnotationSet> bindings,
AnnotationSet inputAS,
AnnotationSet outputAS,
Ontology ontology,
ActionContext actionContext)
Makes changes to the document, using LHS bindings. |
Uses of AnnotationSet in gate.jape.constraint |
---|
Methods in gate.jape.constraint that return AnnotationSet | |
---|---|
AnnotationSet |
ContainsPredicate.doMatch(Annotation annot,
AnnotationSet as)
Get all the annots of the right type that are within the span of this annot. |
protected abstract AnnotationSet |
EmbeddedConstraintPredicate.doMatch(Annotation annot,
AnnotationSet as)
|
AnnotationSet |
WithinPredicate.doMatch(Annotation annot,
AnnotationSet as)
Get all the annots of the right type that completely span the length of the test annot |
Methods in gate.jape.constraint with parameters of type AnnotationSet | |
---|---|
AnnotationSet |
ContainsPredicate.doMatch(Annotation annot,
AnnotationSet as)
Get all the annots of the right type that are within the span of this annot. |
protected abstract AnnotationSet |
EmbeddedConstraintPredicate.doMatch(Annotation annot,
AnnotationSet as)
|
AnnotationSet |
WithinPredicate.doMatch(Annotation annot,
AnnotationSet as)
Get all the annots of the right type that completely span the length of the test annot |
protected abstract boolean |
AbstractConstraintPredicate.doMatch(Object value,
AnnotationSet context)
|
boolean |
AbstractRegExpPredicate.doMatch(Object annotValue,
AnnotationSet context)
Returns true if the given value matches the set pattern. |
boolean |
ComparablePredicate.doMatch(Object value,
AnnotationSet context)
|
boolean |
EmbeddedConstraintPredicate.doMatch(Object annotValue,
AnnotationSet context)
Sets up environment for concrete class to do the specific matching check |
boolean |
EqualPredicate.doMatch(Object annotValue,
AnnotationSet context)
|
boolean |
NotContainsPredicate.doMatch(Object annotValue,
AnnotationSet context)
Sets up environment for concrete class to do the specific matching check |
boolean |
NotEqualPredicate.doMatch(Object annotValue,
AnnotationSet context)
|
boolean |
NotWithinPredicate.doMatch(Object annotValue,
AnnotationSet context)
Sets up environment for concreate class to do the specific matching check |
protected Collection<Annotation> |
EmbeddedConstraintPredicate.filterMatches(AnnotationSet containedSet)
If there are attribute constraints, filter the set. |
Object |
AnnotationAccessor.getValue(Annotation annot,
AnnotationSet context)
Obtain the value of some part of the given annotation |
Object |
AnnotationFeatureAccessor.getValue(Annotation annot,
AnnotationSet context)
Obtain a named feature |
Object |
CleanStringAccessor.getValue(Annotation annot,
AnnotationSet context)
Return the cleaned up underlying string for the annotation. |
Object |
LengthAccessor.getValue(Annotation annot,
AnnotationSet context)
Return the length of the span of the annotation. |
Object |
SimpleAnnotationAccessor.getValue(Annotation annot,
AnnotationSet context)
|
Object |
StringAccessor.getValue(Annotation annot,
AnnotationSet context)
Return the underlying string for the annotation. |
boolean |
AbstractConstraintPredicate.matches(Annotation annot,
AnnotationSet context)
|
boolean |
ConstraintPredicate.matches(Annotation annot,
AnnotationSet context)
Evaluates if the provided annotation meets the requirements of the predicate. |
Uses of AnnotationSet in gate.jape.functest |
---|
Fields in gate.jape.functest declared as AnnotationSet | |
---|---|
protected AnnotationSet |
BaseJapeTests.BaseAnnotationCreator.as
|
Methods in gate.jape.functest that return AnnotationSet | |
---|---|
AnnotationSet |
BaseJapeTests.AnnotationCreator.createAnnots(Document doc)
|
Uses of AnnotationSet in gate.util |
---|
Methods in gate.util with parameters of type AnnotationSet | |
---|---|
static boolean |
TestEqual.annotationSetsEqual(AnnotationSet as1,
AnnotationSet as2)
Two AnnotationSet are equal if their name, the documents of which belong to the AnnotationSets and annotations from the sets are the same |
void |
ClassificationMeasures.calculateConfusionMatrix(AnnotationSet aS1,
AnnotationSet aS2,
String type,
String feature,
boolean verbose)
Create a confusion matrix in which annotations of identical span bearing the specified feature name are compared in terms of feature value. |
static boolean |
AnnotationMerging.isSameInstancesForAnnotators(AnnotationSet[] annsA,
int vsy)
Check if the annotation sets contain the same annotations. |
static void |
AnnotationMerging.mergeAnnotation(AnnotationSet[] annsArr,
String nameFeat,
HashMap<Annotation,String> mergeAnns,
int numMinK,
boolean isTheSameInstances)
Merge all annotationset from an array. |
static void |
AnnotationMerging.mergeAnnotationMajority(AnnotationSet[] annsArr,
String nameFeat,
HashMap<Annotation,String> mergeAnns,
boolean isTheSameInstances)
Merge all annotationset from an array. |
Uses of AnnotationSet in gate.xml |
---|
Constructors in gate.xml with parameters of type AnnotationSet | |
---|---|
XmlDocumentHandler(Document aDocument,
Map aMarkupElementsMap,
Map anElement2StringMap,
AnnotationSet anAnnotationSet)
Constructs a XmlDocumentHandler object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |