Uses of Interface
gate.Annotation

Packages that use Annotation
gate This package contains the public interface to the GATE Java API. 
gate.annotation   
gate.corpora   
gate.creole   
gate.creole.annotransfer   
gate.creole.coref   
gate.creole.nerc   
gate.creole.orthomatcher   
gate.creole.orthomatcher.SampleOrthoMatcher   
gate.event   
gate.fsm   
gate.gui   
gate.gui.annedit   
gate.gui.docview   
gate.jape   
gate.jape.constraint   
gate.jape.functest   
gate.util   
gate.util.web   
gate.xml   
 

Uses of Annotation in gate
 

Methods in gate that return Annotation
 Annotation SimpleAnnotationSet.get(Integer id)
          Find annotations by id
 Annotation AnnotationGraph.newAnnotation(Long id, long start, long end, String type)
           
 Annotation AnnotationGraph.newAnnotation(Long id, Node start, Node end, String type)
           
 

Methods in gate that return types with arguments of type 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).
 Iterator<Annotation> SimpleAnnotationSet.iterator()
          Get an iterator for this set
 

Methods in gate with parameters of type Annotation
 boolean SimpleAnnotationSet.add(Annotation a)
          Add an existing annotation, which should be an annotation on this set's document.
 boolean Annotation.coextensive(Annotation anAnnot)
          Two Annotation are coestensive if their offsets are the same.
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, 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.
 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.overlaps(Annotation aAnnot)
          This method determines if this overlaps aAnnot, i.e. if either the beginning or the end (or both) of anAnnot is contained in the span of this.
 boolean Annotation.withinSpanOf(Annotation aAnnot)
          This method tells if this annotation's text range is fully contained within the text annotated by aAnnot's annotation.
 

Method parameters in gate with type arguments of type Annotation
static AnnotationSet Factory.createImmutableAnnotationSet(Document document, Collection<Annotation> annotations)
          Utility method to create an immutable annotation set.
 

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.annotations
          This field is used temporarily during serialisation to store all the annotations that need to be saved.
protected  Annotation AnnotationSetImpl.AnnotationSetIterator.lastNext
           
private  Annotation CorpusAnnotationDiff.DiffSetElement.leftAnnotation
          This field represent a key annotation
private  Annotation CorpusAnnotationDiff.DiffSetElement.rightAnnotation
          This field represent a response annotation
 

Fields in gate.annotation with type parameters of type Annotation
protected  HashSet<Annotation> DatabaseAnnotationSetImpl.addedAnnotations
          The listener for the events coming from the document (annotations and annotation sets added or removed).
protected  HashMap<Integer,Annotation> AnnotationSetImpl.annotsById
          Maps annotation ids (Integers) to Annotations
private  Iterator<Annotation> AnnotationSetImpl.AnnotationSetIterator.iter
           
protected  HashSet<Annotation> DatabaseAnnotationSetImpl.removedAnnotations
           
protected  HashSet<Annotation> DatabaseAnnotationSetImpl.updatedAnnotations
           
 

Methods in gate.annotation that return Annotation
protected  Annotation TestAnnotation.createAnnotation(Integer id, Node start, Node end, String type, FeatureMap features)
           
 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)
           
 Annotation AnnotationSetImpl.get(Integer id)
          Find annotations by id
 Annotation CorpusAnnotationDiff.DiffSetElement.getLeftAnnotation()
          Gets the left annotation
 Annotation CorpusAnnotationDiff.DiffSetElement.getRightAnnotation()
          Gets the right annotation
 Annotation AnnotationSetImpl.AnnotationSetIterator.next()
           
 

Methods in gate.annotation that return types with arguments of type Annotation
 Collection<Annotation> DatabaseAnnotationSetImpl.getAddedAnnotations()
           
private  Collection<Annotation> AnnotationSetImpl.getAnnotsByStartNode(Integer id)
          Returns a set of annotations starting at that position This intermediate method is used to simplify the code as the values of the annotsByStartNode hashmap can be Annotations or a Collection of Annotations.
 Collection<Annotation> DatabaseAnnotationSetImpl.getChangedAnnotations()
           
 Collection<Annotation> DatabaseAnnotationSetImpl.getRemovedAnnotations()
           
 Iterator<Annotation> AnnotationSetImpl.iterator()
          Get an iterator for this set
 Iterator<Annotation> DatabaseAnnotationSetImpl.iterator()
           
 

Methods in gate.annotation with parameters of type Annotation
 boolean AnnotationSetImpl.add(Annotation a)
          Add an existing annotation.
 boolean DatabaseAnnotationSetImpl.add(Annotation o)
          Add an existing annotation.
 boolean ImmutableAnnotationSetImpl.add(Annotation a)
           
(package private)  void AnnotationSetImpl.addToStartOffsetIndex(Annotation a)
          Add an annotation to the start offset index.
(package private)  void AnnotationSetImpl.addToTypeIndex(Annotation a)
          Add an annotation to the type index.
 boolean AnnotationImpl.coextensive(Annotation anAnnot)
          Two Annotation are coextensive if their offsets are the same.
private  int CorpusAnnotationDiff.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 CorpusAnnotationDiff.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.
 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.overlaps(Annotation aAnnot)
           
protected  boolean AnnotationSetImpl.removeFromIdIndex(Annotation a)
          Remove from the ID index.
protected  void AnnotationSetImpl.removeFromOffsetIndex(Annotation a)
          Remove from the offset indices.
protected  void AnnotationSetImpl.removeFromTypeIndex(Annotation a)
          Remove from the type index.
 void CorpusAnnotationDiff.DiffSetElement.setLeftAnnotation(Annotation aLeftAnnotation)
          Sets the left annotation
 void CorpusAnnotationDiff.DiffSetElement.setRightAnnotation(Annotation aRightAnnotation)
          Sets the right annotation
 boolean AnnotationImpl.withinSpanOf(Annotation aAnnot)
          This method tells if this annotation's text range is fully contained within the text annotated by aAnnot's annotation.
 

Method parameters in gate.annotation with type arguments of type Annotation
 boolean AnnotationSetImpl.addAll(Collection<? extends Annotation> c)
          Adds multiple annotations to this set in one go.
 boolean ImmutableAnnotationSetImpl.addAll(Collection<? extends Annotation> arg0)
           
protected  boolean AnnotationSetImpl.addAllKeepIDs(Collection<? extends Annotation> c)
          Adds multiple annotations to this set in one go.
 

Constructors in gate.annotation with parameters of type Annotation
CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType)
          Constructor for DiffSetlement
CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType, Document kDocument, Document rDocument)
          Constructor for DiffSetlement with document name
 

Constructor parameters in gate.annotation with type arguments of type Annotation
ImmutableAnnotationSetImpl(Document doc, Collection<Annotation> annotations)
          Constructs an ImmutableAnnotationSet.
 

Uses of Annotation in gate.corpora
 

Fields in gate.corpora declared as Annotation
private  Annotation DocumentImpl.crossedOverAnnotation
          This is a variable which contains the latest crossed over annotation found during export with preserving format, i.e., toXml(annotations) method.
private  Annotation DocumentImpl.theRootAnnotation
          Used by the XML dump preserving format method
 

Fields in gate.corpora with type parameters of type Annotation
static Comparator<Annotation> DocumentStaxUtils.LONGEST_FIRST_OFFSET_COMPARATOR
          Comparator that compares annotations based on their offsets; when two annotations start at the same location, the longer one is considered to come first in the ordering.
 

Methods in gate.corpora that return Annotation
private  Annotation DocumentImpl.identifyTheRootAnnotation(AnnotationSet anAnnotationSet)
          Identifies the root annotations inside an annotation set.
private  Annotation DocumentImpl.identifyTheRootAnnotation(List anAnnotationList)
           
 

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  boolean DocumentImpl.insertsSafety(List aTargetAnnotList, Annotation aSourceAnnotation)
           
private  String DocumentImpl.writeEmptyTag(Annotation annot)
           
private  String DocumentImpl.writeEmptyTag(Annotation annot, boolean includeNamespace)
          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
private  String DocumentImpl.writeStartTag(Annotation annot, boolean includeFeatures)
           
private  String DocumentImpl.writeStartTag(Annotation annot, boolean includeFeatures, boolean includeNamespace)
          Returns a string representing a start tag based on the input annot
 

Method parameters in gate.corpora with type arguments of type Annotation
static void DocumentStaxUtils.writeAnnotationSet(Collection<Annotation> annotations, String asName, javax.xml.stream.XMLStreamWriter xsw, String namespaceURI)
          Writes the given annotation set to an XMLStreamWriter as GATE XML format.
static void DocumentStaxUtils.writeDocument(Document doc, Map<String,Collection<Annotation>> annotationSets, javax.xml.stream.XMLStreamWriter xsw, String namespaceURI)
          Write the specified GATE Document to an XMLStreamWriter.
static void DocumentStaxUtils.writeTextWithNodes(Document doc, Collection<Collection<Annotation>> annotationSets, javax.xml.stream.XMLStreamWriter xsw, String namespaceURI)
          Writes the content of the given document to an XMLStreamWriter as a mixed content element called "TextWithNodes".
static void DocumentStaxUtils.writeXcesAnnotations(Collection<Annotation> annotations, OutputStream os, String encoding)
          Save annotations to the given output stream in XCES format, with their IDs included as the "n" attribute of each struct.
static void DocumentStaxUtils.writeXcesAnnotations(Collection<Annotation> annotations, javax.xml.stream.XMLStreamWriter xsw)
          Save annotations to the given XMLStreamWriter in XCES format, with their IDs included as the "n" attribute of each struct.
static void DocumentStaxUtils.writeXcesAnnotations(Collection<Annotation> annotations, javax.xml.stream.XMLStreamWriter xsw, boolean includeId)
          Save annotations to the given XMLStreamWriter in XCES format.
 

Uses of Annotation in gate.creole
 

Methods in gate.creole that return Annotation
 Annotation AnnotationVisualResource.getAnnotationCurrentlyEdited()
           
 

Methods in gate.creole with parameters of type Annotation
protected  void POSTagger.addFeatures(Annotation annot, String featureName, String featureValue)
           
 void AnnotationVisualResource.editAnnotation(Annotation ann, AnnotationSet set)
          Changes the annotation currently being edited.
 Object TestPR.TestAnnotationAccessor.getValue(Annotation annot, AnnotationSet context)
           
private  void APFormatExporter.serializeAnEntityAttributes(Annotation ann)
          This method serializes an entity attribute from an Annotation
private  void APFormatExporter.serializeAnEntityMention(Annotation ann)
          This method serializes an entity mention from an Annotation
 

Uses of Annotation in gate.creole.annotransfer
 

Method parameters in gate.creole.annotransfer with type arguments of type Annotation
private  void AnnotationSetTransfer.transferAnnotations(List<Annotation> toTransfer, AnnotationSet to, boolean newID)
           
 

Uses of Annotation in gate.creole.coref
 

Fields in gate.creole.coref declared as Annotation
private  Annotation[] PronominalCoref.pleonasticIt
          ---
private  Annotation PronominalCoref.Quote.quoteAnnotation
          ---
 

Fields in gate.creole.coref with type parameters of type Annotation
private  Set<Annotation> PronominalCoref.Quote.antecedentsAfter
          ---
private  Set<Annotation> PronominalCoref.Quote.antecedentsBackInContext
          ---
private  Set<Annotation> PronominalCoref.Quote.antecedentsBefore
          ---
 

Methods in gate.creole.coref that return Annotation
private  Annotation PronominalCoref._chooseAntecedent$HE$HIM$HIS$SHE$HER$HIMSELF$(Annotation ant1, Annotation ant2, Annotation pronoun)
          ---
private  Annotation PronominalCoref._chooseAntecedent$IT$ITS$ITSELF$(Annotation ant1, Annotation ant2, Annotation pronoun)
          ---
private  Annotation PronominalCoref._resolve$HE$HIM$HIS$HIMSELF$(Annotation pronoun, int sentenceIndex)
          ---
private  Annotation PronominalCoref._resolve$I$ME$MY$MYSELF$(Annotation pronoun, int sentenceIndex)
          ---
private  Annotation PronominalCoref._resolve$IT$ITS$ITSELF$(Annotation pronoun, int sentenceIndex)
          ---
private  Annotation PronominalCoref._resolve$SHE$HER$(Annotation pronoun, int sentenceIndex)
          ---
private  Annotation PronominalCoref.findAntecedent(Annotation currPronoun, int prnSentIndex)
          ---
private  Annotation NominalCoref.getFollowingToken(Annotation current, int currentPosition, Object[] tokens)
          Get the next token after an annotation
private  Annotation[] NominalCoref.getSortedTokens(Annotation a)
          Get a sorted array of the tokens that make up a given annotation.
 

Methods in gate.creole.coref that return types with arguments of type Annotation
private  Set<Annotation> PronominalCoref.Quote.generateAntecedentCandidates(int sentenceNumber, int quoteNumber, int mode)
          ---
 Set<Annotation> PronominalCoref.Quote.getAntecedentCandidates(int type)
          ---
 

Methods in gate.creole.coref with parameters of type Annotation
private  Annotation PronominalCoref._chooseAntecedent$HE$HIM$HIS$SHE$HER$HIMSELF$(Annotation ant1, Annotation ant2, Annotation pronoun)
          ---
private  Annotation PronominalCoref._chooseAntecedent$IT$ITS$ITSELF$(Annotation ant1, Annotation ant2, Annotation pronoun)
          ---
private  Annotation PronominalCoref._resolve$HE$HIM$HIS$HIMSELF$(Annotation pronoun, int sentenceIndex)
          ---
private  Annotation PronominalCoref._resolve$I$ME$MY$MYSELF$(Annotation pronoun, int sentenceIndex)
          ---
private  Annotation PronominalCoref._resolve$IT$ITS$ITSELF$(Annotation pronoun, int sentenceIndex)
          ---
private  Annotation PronominalCoref._resolve$SHE$HER$(Annotation pronoun, int sentenceIndex)
          ---
private  int NominalCoref.advanceTokenPosition(Annotation target, int currentPosition, Object[] tokens)
          Use this method to keep the current token pointer at the right point in the token list
private  int NominalCoref.countInterveningTokens(Annotation first, Annotation second, int currentPosition, Object[] tokens)
          Return the number of tokens between the end of annotation 1 and the beginning of annotation 2.
private  Annotation PronominalCoref.findAntecedent(Annotation currPronoun, int prnSentIndex)
          ---
private  String PronominalCoref.findPersonGender(Annotation person)
          ---
private  Annotation NominalCoref.getFollowingToken(Annotation current, int currentPosition, Object[] tokens)
          Get the next token after an annotation
private  Annotation[] NominalCoref.getSortedTokens(Annotation a)
          Get a sorted array of the tokens that make up a given annotation.
(package private)  boolean PronominalCoref.isPleonastic(Annotation pronoun)
           
private  boolean NominalCoref.overlapsAnnotations(Annotation a, AnnotationSet annotations)
          This method specifies whether a given annotation overlaps any of a set of annotations.
private  String NominalCoref.stringValue(Annotation ann)
          Get the text of an annotation
 

Constructors in gate.creole.coref with parameters of type Annotation
PronominalCoref.Quote(Annotation quoteAnnotation, int index)
          ---
 

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.longAnnot
           
protected  Annotation OrthoMatcher.shortAnnot
           
 

Fields in gate.creole.orthomatcher with type parameters of type Annotation
protected  ArrayList<Annotation> OrthoMatcher.normalizedTokensLongAnnot
           
protected  ArrayList<Annotation> OrthoMatcher.normalizedTokensShortAnnot
           
protected  ArrayList<Annotation> OrthoMatcher.tokensLongAnnot
           
protected  ArrayList<Annotation> OrthoMatcher.tokensShortAnnot
           
 

Methods in gate.creole.orthomatcher that return Annotation
 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)
           
 

Methods in gate.creole.orthomatcher with parameters of type Annotation
private  boolean OrthoMatcher.apply_rules_namematch(String annotationType, String shortName, String longName, Annotation prevAnnot, Annotation followAnnot, boolean longerPrevious)
          apply_rules_namematch: apply rules similarly to lasie1.5's namematch
 String AnnotationOrthography.getStringForAnnotation(Annotation a, Document d)
          Returns normalized content of an annotation - removes extra white spaces.
 String BasicAnnotationOrthography.getStringForAnnotation(Annotation a, Document d)
           
protected  boolean OrthoMatcher.matchAnnotations(Annotation newAnnot, String annotString, Annotation prevAnnot)
           
 boolean AnnotationOrthography.matchedAlready(Annotation annot1, Annotation annot2, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
 boolean BasicAnnotationOrthography.matchedAlready(Annotation annot1, Annotation annot2, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
private  boolean OrthoMatcher.matchHyphenatedUnknowns(Annotation unknown, String unknownString, Iterator iter)
           
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  void OrthoMatcher.matchWithPrevious(Annotation nameAnnot, String annotString, ArrayList<Annotation> listOfThisType, int startIndex)
          Attempt to match nameAnnot against all previous annotations of the same type, which are passed down in listOfThisType.
 boolean OrthoMatcher.noMatchRule1(String s1, String s2, Annotation previousAnnot, boolean longerPrevious)
          No Match Rule 1: Avoids the problem of matching David Jones ...
protected  String OrthoMatcher.normalizeOrganizationName(String annotString, Annotation annot)
          return an organization without a designator and starting The
protected  void OrthoMatcher.normalizePersonName(Annotation annot)
           
protected  void OrthoMatcher.propagatePropertyToExactMatchingMatches(Annotation updateAnnot, String featureName, Object value)
           
 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)
           
 

Method parameters in gate.creole.orthomatcher with type arguments of type Annotation
 boolean AnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
 boolean AnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
 boolean BasicAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
 boolean BasicAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
private  boolean OrthoMatcher.detectBadMiddleTokens(ArrayList<Annotation> tokArray)
          returns true if it detects a middle name which indicates that the name string contains a nickname or a compound last name
protected  void OrthoMatcher.matchUnknown(ArrayList<Annotation> sortedAnnotationsForAType)
           
protected  void OrthoMatcher.matchWithPrevious(Annotation nameAnnot, String annotString, ArrayList<Annotation> listOfThisType, int startIndex)
          Attempt to match nameAnnot against all previous annotations of the same type, which are passed down in listOfThisType.
 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.
 

Uses of Annotation in gate.creole.orthomatcher.SampleOrthoMatcher
 

Methods in gate.creole.orthomatcher.SampleOrthoMatcher that return Annotation
 Annotation SampleAnnotationOrthography.updateMatches(Annotation newAnnot, String annotString, HashMap processedAnnots, AnnotationSet nameAllAnnots, List matchesDocFeature)
           
 

Methods in gate.creole.orthomatcher.SampleOrthoMatcher with parameters of type Annotation
 String SampleAnnotationOrthography.getStringForAnnotation(Annotation a, Document d)
           
 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)
           
 

Method parameters in gate.creole.orthomatcher.SampleOrthoMatcher with type arguments of type Annotation
 boolean SampleAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> arg0, ArrayList<Annotation> arg1, String arg2, boolean arg3)
           
 boolean SampleAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> arg0, ArrayList<Annotation> arg1, String arg2, boolean arg3)
           
 String SampleAnnotationOrthography.stripPersonTitle(String annotString, Annotation annot, Document doc, Map<Integer,List<Annotation>> tokensMap, HashMap normalizedTokensMap, AnnotationSet nameAllAnnots)
           
 

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
AnnotationEvent(Annotation source, int type)
          Constructor.
AnnotationSetEvent(AnnotationSet source, int type, Document sourceDocument, Annotation annotation)
          Constructor.
 

Uses of Annotation in gate.fsm
 

Methods in gate.fsm with parameters of type Annotation
 boolean Transition.satisfiedBy(Annotation[] coIncidentAnnos)
          Returns true if all the constraints on this transition are satisfied by the given Annotations, false otherwise.
 

Uses of Annotation in gate.gui
 

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

Methods in gate.gui that return Annotation
 Annotation STreeNode.getAnnotation()
           
 Annotation SchemaAnnotationEditor.getAnnotationCurrentlyEdited()
          Deprecated. Returns the anntoation curerntly edited.
 Annotation SyntaxTreeViewer.getAnnotationCurrentlyEdited()
           
 Annotation UnrestrictedAnnotationEditor.getAnnotationCurrentlyEdited()
          Deprecated.  
 

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

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

Uses of Annotation in gate.gui.annedit
 

Fields in gate.gui.annedit declared as Annotation
(package private)  Annotation AnnotationDataImpl.ann
           
protected  Annotation SchemaAnnotationEditor.annotation
          The annotation currently being edited.
 

Fields in gate.gui.annedit with type parameters of type Annotation
protected  LinkedList<Annotation> SearchAndAnnotatePanel.annotateAllAnnotationsID
          List of annotations ID that have been created by the AnnotateAllMatchesAction.
 

Methods in gate.gui.annedit that return Annotation
 Annotation AnnotationData.getAnnotation()
          Gets the Annotation object represented by this structure.
 Annotation AnnotationDataImpl.getAnnotation()
           
 Annotation SchemaAnnotationEditor.getAnnotationCurrentlyEdited()
           
 Annotation AnnotationEditorOwner.getNextAnnotation()
          Called by the editor for obtaining the next annotation to be edited.
 Annotation AnnotationEditorOwner.getPreviousAnnotation()
          Called by the editor for obtaining the previous annotation to be edited.
 

Methods in gate.gui.annedit with parameters of type Annotation
 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 Annotation
AnnotationDataImpl(AnnotationSet set, Annotation ann)
           
 

Uses of Annotation in gate.gui.docview
 

Classes in gate.gui.docview that implement Annotation
private static class AnnotationStack.StackAnnotation
          Annotation that doesn't belong to an annotation set and with id always equal to -1.
 

Fields in gate.gui.docview declared as Annotation
protected  Annotation AnnotationEditor.ann
          The annotation being edited.
(package private)  Annotation AnnotationListView.EditAnnotationAction.ann
           
(package private)  Annotation AnnotationStackView.AnnotationMouseListener.annotation
           
(package private)  Annotation TextualDocumentView.HighlightData.annotation
           
private  Annotation CorefEditor.annotToConsiderForChain
           
 

Methods in gate.gui.docview that return Annotation
 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
 Annotation AnnotationEditor.getAnnotationCurrentlyEdited()
           
 Annotation AnnotationListView.getNextAnnotation()
           
 Annotation AnnotationSetsView.getNextAnnotation()
           
 Annotation AnnotationListView.getPreviousAnnotation()
           
 Annotation AnnotationSetsView.getPreviousAnnotation()
           
 

Methods in gate.gui.docview with parameters of type Annotation
 void AnnotationStack.addAnnotation(Annotation annotation)
          Add an annotation to the current stack row.
 AnnotationDataImpl AnnotationListView.addAnnotation(Annotation ann, AnnotationSet set)
          Adds an annotation to be displayed in the list.
 void AnnotationSetsView.TypeHandler.annotationAdded(Annotation ann)
          Notifies this type handler that a new annotation was created of the right type
 void AnnotationListView.annotationChanged(Annotation ann, AnnotationSet set, String oldType)
           
 void AnnotationSetsView.annotationChanged(Annotation ann, AnnotationSet set, String oldType)
           
 void AnnotationSetsView.TypeHandler.annotationRemoved(Annotation ann)
          Notifies this type handler that an annotation has been removed
(package private) static AnnotationStack.StackAnnotation AnnotationStack.StackAnnotation.createAnnotation(Annotation annotation)
           
 void AnnotationEditor.editAnnotation(Annotation ann, AnnotationSet set)
           
private  CorefEditor.CorefTreeNode CorefEditor.findOutTheChainHead(Annotation ann, String set)
          Given an annotation, this will find out the chainHead
 List<Action> AnnotationListView.getGenericEditorActions(AnnotationSet set, Annotation annotation)
           
 List<Action> AnnotationListView.getSpecificEditorActions(AnnotationSet set, Annotation annotation)
           
 String CorefEditor.getString(Annotation ann)
          Given an annotation, this method returns the string of that 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 CorefEditor.removeChainReference(Annotation annot, CorefEditor.CorefTreeNode chainHead)
          Removes the reference of this annotation from the current chain.
 void TextualDocumentView.scrollAnnotationToVisible(Annotation ann)
           
 void AnnotationSetsView.selectAnnotation(Annotation ann, AnnotationSet annSet)
          Sets a particular annotation as selected.
 

Method parameters in gate.gui.docview with type arguments of type Annotation
 List<AnnotationData> AnnotationListView.addAnnotations(List<Annotation> annotations, AnnotationSet set)
          Adds a batch of annotations in one go.
 

Constructors in gate.gui.docview with parameters of type Annotation
AnnotationListView.EditAnnotationAction(AnnotationSet set, Annotation ann, AnnotationVisualResource editor)
           
 

Uses of Annotation in gate.jape
 

Methods in gate.jape that return Annotation
protected  Annotation SinglePhaseTransducer.getRightMostAnnotation(Collection<Annotation> annots)
          Return the annotation with the right-most end node
 

Methods in gate.jape that return types with arguments of type Annotation
private static List<List<Annotation>> SinglePhaseTransducer.combine(List<List<Annotation>> sourceLists, int maxTupleSize, List<Annotation> incompleteTuple)
          Computes all tuples (x1, x2, ..., xn) resulting from the linear combination of the elements of n lists, where x1 comes from the 1st list, x2 comes from the second, etc.
 List<Annotation> Constraint.matches(Collection<Annotation> annots, Ontology ontology, AnnotationSet context)
          Invoke #matches(Annotation, Ontology, Object) on all provided annotations.
 

Methods in gate.jape with parameters of type Annotation
 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 ConstraintPredicates 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 ConstraintPredicates of this constraint.
 

Method parameters in gate.jape with type arguments of type Annotation
private static List<List<Annotation>> SinglePhaseTransducer.combine(List<List<Annotation>> sourceLists, int maxTupleSize, List<Annotation> incompleteTuple)
          Computes all tuples (x1, x2, ..., xn) resulting from the linear combination of the elements of n lists, where x1 comes from the 1st list, x2 comes from the second, etc.
private static List<List<Annotation>> SinglePhaseTransducer.combine(List<List<Annotation>> sourceLists, int maxTupleSize, List<Annotation> incompleteTuple)
          Computes all tuples (x1, x2, ..., xn) resulting from the linear combination of the elements of n lists, where x1 comes from the 1st list, x2 comes from the second, etc.
protected  Annotation SinglePhaseTransducer.getRightMostAnnotation(Collection<Annotation> annots)
          Return the annotation with the right-most end node
 List<Annotation> Constraint.matches(Collection<Annotation> annots, Ontology ontology, AnnotationSet context)
          Invoke #matches(Annotation, Ontology, Object) on all provided annotations.
 

Uses of Annotation in gate.jape.constraint
 

Methods in gate.jape.constraint that return types with arguments of type Annotation
protected  Collection<Annotation> EmbeddedConstraintPredicate.filterMatches(AnnotationSet containedSet)
          If there are attribute constraints, filter the set.
 

Methods in gate.jape.constraint with parameters of type Annotation
 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
 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 Annotation in gate.jape.functest
 

Methods in gate.jape.functest that return types with arguments of type Annotation
protected  Set<Annotation> BaseJapeTests.doTest(Document doc, String japeResourcePath, BaseJapeTests.AnnotationCreator ac, String ontologyURL)
           
protected  Set<Annotation> BaseJapeTests.doTest(String docResourcePath, String japeResourcePath, BaseJapeTests.AnnotationCreator ac)
           
protected  Set<Annotation> BaseJapeTests.doTest(String docResourcePath, String japeResourcePath, BaseJapeTests.AnnotationCreator ac, String ontologyURL)
           
private  Set<Annotation> BaseJapeTests.runTransducer(Document doc, String japeFile, String ontologyURL)
          Executes transducer with the provided parameters and returns transduced annotations ordered
 

Method parameters in gate.jape.functest with type arguments of type Annotation
protected static void BaseJapeTests.compareEndOffsets(Set<Annotation> res, int... endOffsets)
           
protected static void BaseJapeTests.compareResults(String[] expectedResults, Set<Annotation> actualResults)
          Compares 2 ordered sets of annotations by comparison of the rules that created them.
protected static void BaseJapeTests.compareStartOffsets(Set<Annotation> res, int... startOffsets)
           
 

Uses of Annotation in gate.util
 

Methods in gate.util that return Annotation
 Annotation AnnotationDiffer.Pairing.getKey()
          Gets the key annotation of the pairing.
 Annotation AnnotationDiffer.PairingImpl.getKey()
           
 Annotation AnnotationDiffer.Pairing.getResponse()
          Gets the response annotation of the pairing.
 Annotation AnnotationDiffer.PairingImpl.getResponse()
           
 

Methods in gate.util that return types with arguments of type Annotation
 Set<Annotation> AnnotationDiffer.getAnnotationsOfType(int type)
          A method that returns specific type of annotations
 

Methods in gate.util with parameters of type Annotation
 int OffsetComparator.compare(Annotation a1, Annotation a2)
           
 

Method parameters in gate.util with type arguments of type Annotation
private static void AnnotationMerging.mergeAnnogationMajorityNoFeat(AnnotationSet[] annsArr, HashMap<Annotation,String> mergeAnns, boolean isTheSameInstances)
          The majority merging method for the annotaiton not specifying any annotation feature for label.
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.
private static void AnnotationMerging.removeDuplicate(HashMap<Annotation,String> mergeAnns)
          Remove the duplicate annotations from the merged annotations.
 

Uses of Annotation in gate.util.web
 

Methods in gate.util.web with parameters of type Annotation
 boolean WebCrimeReportAnalyser.SortedAnnotationList.addSortedExclusive(Annotation annot)
           
 

Uses of Annotation in gate.xml
 

Methods in gate.xml with parameters of type Annotation
private  void TestXml.compareAnnot(Annotation origAnn, Annotation reloadedAnnot)
          Thes if two annotatiosn are the same, except their features.