Uses of Class
org.apache.uima.jcas.tcas.Annotation
-
Packages that use Annotation Package Description org.apache.uima.cas Common Analysis System(CAS) Interfacesorg.apache.uima.cas.impl Implementation and Low-Level API for the CAS Interfaces.org.apache.uima.examples org.apache.uima.jcas Interfaces for accessing the JCAS.org.apache.uima.jcas.impl Provides the classes that support the Java Cas Model (JCM).org.apache.uima.jcas.tcas org.apache.uima.tools.viewer org.apache.uima.util Utility classes and interfaces used by UIMA components. -
-
Uses of Annotation in org.apache.uima.cas
Methods in org.apache.uima.cas with parameters of type Annotation Modifier and Type Method Description SelectFSs<T>
SelectFSs. following(Annotation annotation)
For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd();SelectFSs<T>
SelectFSs. following(Annotation annotation, int offset)
For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd() and then adjust position by the offsetSelectFSs<T>
SelectFSs. preceding(Annotation annotation)
For AnnotationIndex, set up a selection that will go from the beginning to the first Annotation to the left of the specified position, whose end <= fs.getBegin().SelectFSs<T>
SelectFSs. preceding(Annotation annotation, int offset)
For AnnotationIndex, set up a selection that will go from the beginning to the first Annotation to the left of the specified position, ending at the last Annotation whose end <= fs.getBegin(), after adjusting by offset items. -
Uses of Annotation in org.apache.uima.cas.impl
Fields in org.apache.uima.cas.impl declared as Annotation Modifier and Type Field Description private Annotation
Subiterator. boundingAnnot
the bounding annotation need not be a subtype of Tprivate Annotation
Subiterator. coveringStartPos
private Annotation
CASImpl. deserialized_doc_annot_not_indexed
private Annotation
Subiterator. originalBoundingAnnotation
Fields in org.apache.uima.cas.impl with type parameters of type Annotation Modifier and Type Field Description private java.util.Map<TypeImpl,FsIndex_annotation<Annotation>>
FSIndexRepositoryImpl. annotationIndexes
speedup for annotation index accessing by type, lazily initializedprivate FSIterator<Annotation>
CASImpl. docAnnotIter
Optimization - keep a documentAnnotationIterator handy for getting a ref to the doc annot Initialized lazily, synchronized One per cas viewprivate LowLevelIterator<Annotation>
Subiterator. it
private java.util.ArrayList<Annotation>
Subiterator. list
Methods in org.apache.uima.cas.impl with type parameters of type Annotation Modifier and Type Method Description private <T extends Annotation>
TCASImpl. createDocumentAnnotationNoRemove(int length)
<T extends Annotation>
TCASImpl. createDocumentAnnotationNoRemoveNoIndex(int length)
Methods in org.apache.uima.cas.impl that return Annotation Modifier and Type Method Description Annotation
CASImpl. createAnnotation(Type type, int begin, int end)
private static Annotation[]
LLUnambiguousIteratorImpl. createItemsArray(LowLevelIterator<FeatureStructure> it)
private Annotation
SelectFSs_impl. makePosAnnot(int begin, int end)
Methods in org.apache.uima.cas.impl that return types with arguments of type Annotation Modifier and Type Method Description private FSIterator<Annotation>
CASImpl. getDocAnnotIter()
Methods in org.apache.uima.cas.impl with parameters of type Annotation Modifier and Type Method Description private SelectFSs<T>
SelectFSs_impl. commonFollowing(Annotation annotation, int offset)
validations isAnnotationIndex => startingFs is Annotation isAllViews: doesn't support startAt, coveredBy and friends, backwards isAllViews: supports limit, shiftprivate SelectFSs<T>
SelectFSs_impl. commonPreceding(Annotation annotation, int offset)
private boolean
Subiterator. coveredByBounds(Annotation ann)
private boolean
Subiterator. equalToBounds(Annotation fs)
Special equalToBounds used only for having bounded iterators skip returning the bounding annotation Two styles: uimaFIT style: only skip the exact one (id's the same) uima style: skip all that compare equal using the AnnotationIndex comparatorSelectFSs<T>
SelectFSs_impl. following(Annotation fs)
SelectFSs<T>
SelectFSs_impl. following(Annotation fs, int offset)
SelectFSs<T>
SelectFSs_impl. preceding(Annotation fs)
SelectFSs<T>
SelectFSs_impl. preceding(Annotation annotation, int offset)
void
CASImpl. set_deserialized_doc_annot_not_indexed(Annotation doc_annot)
Method parameters in org.apache.uima.cas.impl with type arguments of type Annotation Modifier and Type Method Description private void
Subiterator. moveToJustPastBoundsAndBackup(int begin, int end, java.util.function.Predicate<Annotation> continue_going_backwards)
Called by move to Last (only) and only for non-empty iterators, to move to a place just beyond the last spot, and then backup while the goBackwards is true Includes adjustForStrictOrCoveringAndBoundSkip going backwardsConstructors in org.apache.uima.cas.impl with parameters of type Annotation Constructor Description Subiterator(FSIterator<Annotation> it, Annotation boundingAnnot, Annotation originalBoundingAnnotation, boolean ambiguous, boolean strict, Subiterator.BoundsUse boundsUse, boolean isUseTypePriority, boolean isSkipSameBeginEndType, int startId, boolean isEmpty, Annotation coveringStartPos, boolean isDoEqualsTest, boolean isStrictIncludesAnnotationsStartingAtEndPosition, boolean isIncludeZeroWidthAtBegin, boolean isIncludeZeroWidthAtEnd)
copy constructor - no move to startConstructor parameters in org.apache.uima.cas.impl with type arguments of type Annotation Constructor Description Subiterator(FSIterator<Annotation> it, Annotation boundingAnnot, Annotation originalBoundingAnnotation, boolean ambiguous, boolean strict, Subiterator.BoundsUse boundsUse, boolean isUseTypePriority, boolean isSkipSameBeginEndType, int startId, boolean isEmpty, Annotation coveringStartPos, boolean isDoEqualsTest, boolean isStrictIncludesAnnotationsStartingAtEndPosition, boolean isIncludeZeroWidthAtBegin, boolean isIncludeZeroWidthAtEnd)
copy constructor - no move to start -
Uses of Annotation in org.apache.uima.examples
Subclasses of Annotation in org.apache.uima.examples Modifier and Type Class Description class
SourceDocumentInformation
Stores detailed information about the original source document from which the current CAS was initialized. -
Uses of Annotation in org.apache.uima.jcas
Methods in org.apache.uima.jcas with type parameters of type Annotation Modifier and Type Method Description <T extends Annotation>
AnnotationIndex<T>JCas. getAnnotationIndex(int type)
Get the standard annotation index restricted to a specific annotation type.<T extends Annotation>
AnnotationIndex<T>JCas. getAnnotationIndex(java.lang.Class<T> clazz)
Get the standard annotation index restricted to a specific annotation type.<T extends Annotation>
AnnotationIndex<T>JCas. getAnnotationIndex(Type type)
Get the standard annotation index restricted to a specific annotation type.<T extends Annotation>
AnnotationIndex<T>JFSIndexRepository. getAnnotationIndex(int type)
Get the standard annotation index restricted to a specific annotation type.Methods in org.apache.uima.jcas that return types with arguments of type Annotation Modifier and Type Method Description AnnotationIndex<Annotation>
JCas. getAnnotationIndex()
Get the standard annotation index.AnnotationIndex<Annotation>
JFSIndexRepository. getAnnotationIndex()
Get the standard annotation index. -
Uses of Annotation in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl with type parameters of type Annotation Modifier and Type Method Description <T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(int type)
<T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(java.lang.Class<T> clazz)
<T extends Annotation>
AnnotationIndex<T>JCasImpl. getAnnotationIndex(Type type)
<T extends Annotation>
AnnotationIndex<T>JFSIndexRepositoryImpl. getAnnotationIndex(int type)
Methods in org.apache.uima.jcas.impl that return types with arguments of type Annotation Modifier and Type Method Description AnnotationIndex<Annotation>
JCasImpl. getAnnotationIndex()
AnnotationIndex<Annotation>
JFSIndexRepositoryImpl. getAnnotationIndex()
-
Uses of Annotation in org.apache.uima.jcas.tcas
Subclasses of Annotation in org.apache.uima.jcas.tcas Modifier and Type Class Description class
DocumentAnnotation
The JCas class definition for the CASDocumentAnnotation
type.Methods in org.apache.uima.jcas.tcas that return Annotation Modifier and Type Method Description static Annotation
Annotation. _createMarkerAnnotation(JCas aJCas, int aBegin, int aEnd)
For internal use bySelectFSs_impl
Methods in org.apache.uima.jcas.tcas with parameters of type Annotation Modifier and Type Method Description int
Annotation. compareAnnotation(Annotation other)
Compare two annotations, no type orderint
Annotation. compareAnnotation(Annotation other, LinearTypeOrder lto)
Compare two annotations incl type orderint
Annotation. compareAnnotationWithId(Annotation other)
Compare two annotations, with id compareint
Annotation. compareAnnotationWithId(Annotation other, LinearTypeOrder lto)
Compare two annotations, with type order, with id compare -
Uses of Annotation in org.apache.uima.tools.viewer
Methods in org.apache.uima.tools.viewer with parameters of type Annotation Modifier and Type Method Description EntityResolver.Entity
CasAnnotationViewer.DefaultEntityResolver. getEntity(Annotation inAnnotation)
EntityResolver.Entity
EntityResolver. getEntity(Annotation aAnnotation)
Returns theEntity
to which an annotation refers.private boolean
CasAnnotationViewer. isMatch(Annotation annotation)
Check if an annotation matches the filters set by the user.private void
CasAnnotationViewer. processOneAnnotationInEntityView(javax.swing.text.StyledDocument doc, Annotation annotation)
Process one annotation in entity view.private boolean
CasAnnotationViewer. processOneAnnotationInFeatureView(javax.swing.text.StyledDocument doc, Annotation annotation, boolean firstType)
Examine an annotation and add type/feature/value-related controls if necessary.private boolean
CasAnnotationViewer. processOneFeature(javax.swing.text.StyledDocument doc, Annotation annotation, Feature feature, boolean firstFeature)
Examine one feature of the given annotation and create the feature-related controls.private boolean
CasAnnotationViewer. processOneFeatureValue(javax.swing.text.StyledDocument doc, Annotation annotation, Feature feature)
Examine one feature of the given annotation and create the feature-value-related controls. -
Uses of Annotation in org.apache.uima.util
Fields in org.apache.uima.util declared as Annotation Modifier and Type Field Description private Annotation
CasCopier. srcCasDocumentAnnotation
-