## Uses of Interface
gate.Annotation

Packages that use Annotation
gate
gate.annotation
gate.corpora
gate.creole
gate.creole.nerc
gate.creole.orthomatcher
gate.event
gate.gui

Uses of Annotation in gate

Methods in gate that return Annotation
`Annotation` `AnnotationSet.get(Integer id)` Find annotations by id

Methods in gate with parameters of type Annotation
`boolean` `Annotation.isCompatible(Annotation anAnnot)` This verifies if this annotation is compatible with another one.
`boolean` `Annotation.isCompatible(Annotation anAnnot, Set aFeatureNamesSet)` This verifies if this annotation is compatible with another one, given a set with certain keys.
`boolean` `Annotation.isPartiallyCompatible(Annotation anAnnot)` This method verifies if two annotation and are partially compatible.
`boolean` `Annotation.isPartiallyCompatible(Annotation anAnnot, Set aFeatureNamesSet)` This method verifies if two annotation and are partially compatible, given a set with certain keys.
`boolean` `Annotation.coextensive(Annotation anAnnot)` Two Annotation are coestensive if their offsets are the same.
`boolean` `Annotation.overlaps(Annotation aAnnot)` This method tells if this overlaps aAnnot.

Uses of Annotation in gate.annotation

Classes in gate.annotation that implement Annotation
`class` `AnnotationImpl` Provides an implementation for the interface gate.Annotation

Fields in gate.annotation declared as Annotation
`private Annotation` `AnnotationSetImpl.AnnotationSetIterator.lastNext`
`private Annotation` `AnnotationDiff.DiffSetElement.leftAnnotation` This field represent a key annotation
`private Annotation` `AnnotationDiff.DiffSetElement.rightAnnotation` This field represent a response annotation

Methods in gate.annotation that return Annotation
`Annotation` `AnnotationSetImpl.get(Integer id)` Find annotations by id
`Annotation` `AnnotationDiff.DiffSetElement.getLeftAnnotation()` Gets the left annotation
`Annotation` `AnnotationDiff.DiffSetElement.getRightAnnotation()` Gets the right annotation

Methods in gate.annotation with parameters of type Annotation
`protected boolean` `AnnotationSetImpl.removeFromIdIndex(Annotation a)` Remove from the ID index.
`protected void` `AnnotationSetImpl.removeFromTypeIndex(Annotation a)` Remove from the type index.
`protected void` `AnnotationSetImpl.removeFromOffsetIndex(Annotation a)` Remove from the offset indices.
`(package private) void` `AnnotationSetImpl.addToTypeIndex(Annotation a)` Add an annotation to the type index.
`(package private) void` `AnnotationSetImpl.addToOffsetIndex(Annotation a)` Add an annotation to the offset indices.
`(package private) void` `AnnotationSetImpl.addToStartOffsetIndex(Annotation a)` Add an annotation to the start offset index.
`(package private) void` `AnnotationSetImpl.addToEndOffsetIndex(Annotation a)` Add an annotation to the end offset index.
`boolean` `AnnotationImpl.isCompatible(Annotation anAnnot)` This verifies if this annotation is compatible with another one.
`boolean` `AnnotationImpl.isCompatible(Annotation anAnnot, Set aFeatureNamesSet)` This verifies if this annotation is compatible with another one, given a set with certain keys.
`boolean` `AnnotationImpl.isPartiallyCompatible(Annotation anAnnot)` This method verifies if two annotation and are partially compatible.
`boolean` `AnnotationImpl.isPartiallyCompatible(Annotation anAnnot, Set aFeatureNamesSet)` This method verifies if two annotation and are partially compatible, given a set with certain keys.
`boolean` `AnnotationImpl.coextensive(Annotation anAnnot)` Two Annotation are coextensive if their offsets are the same.
`boolean` `AnnotationImpl.overlaps(Annotation aAnnot)` This method tells if this overlaps aAnnot.
`private int` `AnnotationDiff.detectKeyType(Annotation anAnnot)` Decide what type is the keyAnnotation (DEFAULT_TYPE, MISSING or NULL_TYPE) This method must be applied only on annotation from key set.
`private int` `AnnotationDiff.detectResponseType(Annotation anAnnot)` Decide what type is the responseAnnotation (PARTIALLY_CORRECT_TYPE, SPURIOUS or NULL_TYPE) This method must be applied only on annotation from response set.
`void` `AnnotationDiff.DiffSetElement.setLeftAnnotation(Annotation aLeftAnnotation)` Sets the left annotation
`void` `AnnotationDiff.DiffSetElement.setRightAnnotation(Annotation aRightAnnotation)` Sets the right annotation

Constructors in gate.annotation with parameters of type Annotation
`AnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType)` Constructor for DiffSetlement

Uses of Annotation in gate.corpora

Methods in gate.corpora with parameters of type Annotation
`private boolean` `DocumentImpl.insertsSafety(AnnotationSet aTargetAnnotSet, Annotation aSourceAnnotation)` This method verifies if aSourceAnnotation can ve inserted safety into the aTargetAnnotSet.
`private String` `DocumentImpl.writeStartTag(Annotation annot)` Returns a string representing a start tag based on the input annot
`private String` `DocumentImpl.writeEmptyTag(Annotation annot)` Returns a string representing an empty tag based on the input annot
`private String` `DocumentImpl.writeEndTag(Annotation annot)` Returns a string representing an end tag based on the input annot

Uses of Annotation in gate.creole

Methods in gate.creole with parameters of type Annotation
`private void` `APFormatExporter.serializeAnEntityMention(Annotation ann)` This method serializes an entity mention from an Annotation
`private void` `APFormatExporter.serializeAnEntityAttributes(Annotation ann)` This method serializes an entity attribute from an Annotation
`void` `AnnotationVisualResource.setAnnotation(Annotation ann)` Used when the viewer/editor has to display/edit an existing annotation

Uses of Annotation in gate.creole.nerc

Constructors in gate.creole.nerc with parameters of type Annotation
`EntityDescriptor(Document document, Annotation annotation)` Constructs a new entity descriptor starting from a Gate annotation

Uses of Annotation in gate.creole.orthomatcher

Fields in gate.creole.orthomatcher declared as Annotation
`protected Annotation` `OrthoMatcher.shortAnnot`
`protected Annotation` `OrthoMatcher.longAnnot`

Methods in gate.creole.orthomatcher that return Annotation
`protected Annotation` `OrthoMatcher.updateMatches(Annotation newAnnot, String annotString)`

Methods in gate.creole.orthomatcher with parameters of type Annotation
`protected void` `OrthoMatcher.matchWithPrevious(Annotation nameAnnot, String annotString)`
`protected boolean` `OrthoMatcher.matchAnnotations(Annotation newAnnot, String annotString, Annotation prevAnnot)`

`protected boolean`

`OrthoMatcher.matchOtherAnnots(List toMatchList, Annotation newAnnot, String annotString)`
This method checkes whether the new annotation matches all annotations given in the toMatchList (it contains ids) The idea is that the new annotation needs to match all those, because assuming transitivity does not always work, when two different entities share a common token: e.g., BT Cellnet and BT and British Telecom.

`protected boolean` `OrthoMatcher.matchedAlready(Annotation annot1, Annotation annot2)`
`protected Annotation` `OrthoMatcher.updateMatches(Annotation newAnnot, String annotString)`
`protected void` `OrthoMatcher.updateMatches(Annotation newAnnot, Annotation prevAnnot)`
`protected String` `OrthoMatcher.containTitle(String annotString, Annotation annot)` return a person name without title
`protected String` `OrthoMatcher.stripCDG(String annotString, Annotation annot)` return an organization without a designator and starting The

Uses of Annotation in gate.event

Fields in gate.event declared as Annotation
`private Annotation` `AnnotationSetEvent.annotation`

Methods in gate.event that return Annotation
`Annotation` `AnnotationSetEvent.getAnnotation()` Gets the annotation that has been added or removed

Constructors in gate.event with parameters of type Annotation
`AnnotationSetEvent(AnnotationSet source, int type, Document sourceDocument, Annotation annotation)` Constructor.
`AnnotationEvent(Annotation source, int type)` Constructor.

Uses of Annotation in gate.gui

Fields in gate.gui declared as Annotation
`(package private) Annotation` `UnrestrictedAnnotationEditor.currentAnnot` The curent annotation used by the editor
`(package private) Annotation` `SchemaAnnotationEditor.currentAnnot` The curent annotation used by the editor
`(package private) Annotation` `DocumentEditor.EventsHandler.HighlightsRemover.ann`
`(package private) Annotation` `DocumentEditor.EventsHandler.HihglightsShower.ann`
`(package private) Annotation` `DocumentEditor.SelectAnnotationPopupItem.annotation`
`protected Annotation` `DocumentEditor.EditAnnotationAction.annotation`
`(package private) Annotation` `STreeNode.annot`
`protected Annotation` `SyntaxTreeViewer.utterance`

Methods in gate.gui that return Annotation
`Annotation` `STreeNode.getAnnotation()`

Methods in gate.gui with parameters of type Annotation
`void` `UnrestrictedAnnotationEditor.setAnnotation(Annotation ann)` Used when the viewer/editor has to display/edit an existing annotation
`void` `SchemaAnnotationEditor.setAnnotation(Annotation ann)` Used when the viewer/editor has to display/edit an existing annotation
`protected void` `DocumentEditor.selectAnnotation(String set, Annotation ann)` Updates the GUI when the user has selected an annotation e.g.
`void` `STreeNode.setAnnotation(Annotation annot)` This also sets the span to match the annotation span!
`void` `SyntaxTreeViewer.setAnnotation(Annotation ann)` Used when the viewer/editor has to display/edit an existing annotation
`private JButton` `SyntaxTreeViewer.processChildrenAnnots(Annotation annot, HashMap processed)`
`protected STreeNode` `SyntaxTreeViewer.createParentNode(String text, Annotation annot)` Create a parent node for all selected non-terminal nodes

Constructors in gate.gui with parameters of type Annotation
`UnrestrictedAnnotationEditor.MyCustomFeatureBearer(Annotation anAnnot)` Constructs a custom feature bearer.
`DocumentEditor.EventsHandler.HighlightsRemover(Annotation ann)`
`DocumentEditor.EventsHandler.HihglightsShower(Annotation ann, Style style)`
`DocumentEditor.SelectAnnotationPopupItem(Annotation ann, String setName)`
`DocumentEditor.EditAnnotationAction(AnnotationSet set, Annotation annotation)`
`STreeNode(Annotation annot)`