Uses of Class
org.apache.uima.jcas.tcas.Annotation
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Factories to create different kinds of UIMA resource specifiers.
Interfaces for accessing the JCAS.
Provides the classes that support the Java Cas Model (JCM).
-
Uses of Annotation in org.apache.uima.cas
Modifier and TypeMethodDescriptionSelectFSs.following
(Annotation annotation) For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd();SelectFSs.following
(Annotation annotation, int offset) For AnnotationIndex, position to first Annotation whose begin >= fs.getEnd() and then adjust position by the offsetSelectFSs.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.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
Modifier and TypeMethodDescription<T extends Annotation>
TCASImpl.createDocumentAnnotationNoRemoveNoIndex
(int length) Modifier and TypeMethodDescriptionSelectFSs_impl.following
(Annotation fs) SelectFSs_impl.following
(Annotation fs, int offset) SelectFSs_impl.preceding
(Annotation fs) SelectFSs_impl.preceding
(Annotation annotation, int offset) void
CASImpl.set_deserialized_doc_annot_not_indexed
(Annotation doc_annot) -
Uses of Annotation in org.apache.uima.examples
Modifier and TypeClassDescriptionclass
Stores detailed information about the original source document from which the current CAS was initialized. -
Uses of Annotation in org.apache.uima.fit.examples.tutorial.type
Modifier and TypeClassDescriptionclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xml -
Uses of Annotation in org.apache.uima.fit.examples.type
Modifier and TypeClassDescriptionclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:30 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-examples/target/jcasgen/typesystem.xml -
Uses of Annotation in org.apache.uima.fit.factory
Modifier and TypeMethodDescriptionstatic <T extends Annotation>
TAnnotationFactory.createAnnotation
(JCas jCas, int begin, int end, Class<T> cls) Provides a convenient way to create an annotation and addToIndexes in a single line. -
Uses of Annotation in org.apache.uima.fit.testing.factory
Modifier and TypeClassDescriptionclass
TokenBuilder<TOKEN_TYPE extends Annotation,
SENTENCE_TYPE extends Annotation> This class provides convenience methods for creating tokens and sentences and add them to aJCas
.class
TokenBuilder<TOKEN_TYPE extends Annotation,
SENTENCE_TYPE extends Annotation> This class provides convenience methods for creating tokens and sentences and add them to aJCas
.Modifier and TypeMethodDescriptionstatic <T extends Annotation,
S extends Annotation>
TokenBuilder<T, S> Instantiates a TokenBuilder with the type system information that the builder needs to build tokens.static <T extends Annotation,
S extends Annotation>
TokenBuilder<T, S> Instantiates a TokenBuilder with the type system information that the builder needs to build tokens. -
Uses of Annotation in org.apache.uima.fit.type
Modifier and TypeClassDescriptionclass
Updated by JCasGen Fri Nov 22 17:01:19 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-core/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:19 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-core/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:01:19 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimafit-core/target/jcasgen/typesystem.xml -
Uses of Annotation in org.apache.uima.fit.util
Modifier and TypeMethodDescriptionstatic <T extends Annotation,
S extends Annotation>
Map<T, List<S>> JCasUtil.indexCovered
(JCas jCas, Class<? extends T> type, Class<? extends S> coveredType) Create an index for quickly lookup up the annotations covered by a particular annotation.static <T extends Annotation,
S extends Annotation>
Map<T, List<S>> JCasUtil.indexCovered
(JCas jCas, Class<? extends T> type, Class<? extends S> coveredType) Create an index for quickly lookup up the annotations covered by a particular annotation.static <T extends Annotation,
S extends Annotation>
Map<T, List<S>> JCasUtil.indexCovering
(JCas jCas, Class<? extends T> type, Class<? extends S> coveringType) Create an index for quickly lookup up the annotations covering a particular annotation.static <T extends Annotation,
S extends Annotation>
Map<T, List<S>> JCasUtil.indexCovering
(JCas jCas, Class<? extends T> type, Class<? extends S> coveringType) Create an index for quickly lookup up the annotations covering a particular annotation.static <T extends Annotation>
List<T> Get all annotations of the given type at the specified offsets.static <T extends Annotation>
List<T> JCasUtil.selectBetween
(Class<T> type, AnnotationFS ann1, AnnotationFS ann2) Get a list of annotations of the given annotation type located between two annotations.static <T extends Annotation>
List<T> JCasUtil.selectBetween
(JCas jCas, Class<T> type, AnnotationFS ann1, AnnotationFS ann2) Get a list of annotations of the given annotation type located between two annotations.static <T extends Annotation>
TJCasUtil.selectByIndex
(JCas jCas, Class<T> cls, int index) This method exists simply as a convenience method for unit testing.static <T extends Annotation>
List<T> JCasUtil.selectCovered
(JCas jCas, Class<T> type, int begin, int end) Get a list of annotations of the given annotation type constrained by a 'covering' annotation.static <T extends Annotation>
List<T> JCasUtil.selectCovered
(JCas jCas, Class<T> type, AnnotationFS coveringAnnotation) Get a list of annotations of the given annotation type constrained by a 'covering' annotation.static <T extends Annotation>
List<T> JCasUtil.selectCovering
(Class<T> type, AnnotationFS coveredAnnotation) Get a list of annotations of the given annotation type constraint by a certain annotation.static <T extends Annotation>
List<T> JCasUtil.selectCovering
(JCas jCas, Class<T> type, int begin, int end) Get a list of annotations of the given annotation type constraint by a certain annotation.static <T extends Annotation>
List<T> JCasUtil.selectCovering
(JCas jCas, Class<T> type, AnnotationFS coveredAnnotation) Get a list of annotations of the given annotation type constraint by a certain annotation.static <T extends Annotation>
List<T> JCasUtil.selectFollowing
(Class<T> aType, AnnotationFS annotation, int count) Returns the n annotations following the given annotationstatic <T extends Annotation>
List<T> JCasUtil.selectFollowing
(JCas aJCas, Class<T> aType, AnnotationFS annotation, int count) Returns the n annotations following the given annotationstatic <T extends Annotation>
List<T> JCasUtil.selectOverlapping
(Class<T> aType, AnnotationFS aBoundaryAnnotation) Get a list of annotations of the given annotation type overlapping the given annotation.static <T extends Annotation>
List<T> JCasUtil.selectOverlapping
(JCas aJCas, Class<T> aType, int aBegin, int aEnd) Get a list of annotations of the given annotation type overlapping the given span.static <T extends Annotation>
List<T> JCasUtil.selectOverlapping
(JCas aJCas, Class<T> aType, AnnotationFS aBoundaryAnnotation) Get a list of annotations of the given annotation type overlapping the given annotation.static <T extends Annotation>
List<T> JCasUtil.selectPreceding
(Class<T> aType, AnnotationFS annotation, int count) Returns the n annotations preceding the given annotationstatic <T extends Annotation>
List<T> JCasUtil.selectPreceding
(JCas aJCas, Class<T> aType, AnnotationFS annotation, int count) Returns the n annotations preceding the given annotationstatic <T extends Annotation>
TJCasUtil.selectSingleAt
(JCas jCas, Class<T> type, int aBegin, int aEnd) Get a single annotations of the given type at the specified offsets.static <T extends Annotation>
TJCasUtil.selectSingleRelative
(Class<T> aType, AnnotationFS annotation, int index) Return an annotation preceding or following of a given reference annotation.static <T extends Annotation>
TJCasUtil.selectSingleRelative
(JCas aJCas, Class<T> aType, AnnotationFS aAnchor, int aPosition) Return an annotation preceding or following of a given reference annotation.static <T extends Annotation>
Iterable<T> JCasUtil.subiterate
(JCas jCas, Class<T> type, AnnotationFS container, boolean ambiguous, boolean strict) Convenience method to iterator over all annotations of a given type occurring within the scope of a provided annotation (sub-iteration).Modifier and TypeMethodDescriptionstatic boolean
JCasUtil.contains
(JCas jCas, AnnotationFS coveringAnnotation, Class<? extends Annotation> type) Check if the given annotation contains any annotation of the given type. -
Uses of Annotation in org.apache.uima.it.pear_with_typesystem.type
Modifier and TypeClassDescriptionclass
Updated by JCasGen Fri Nov 22 17:03:35 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimaj-it-pear-with-typesystem/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:03:35 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimaj-it-pear-with-typesystem/target/jcasgen/typesystem.xmlclass
Updated by JCasGen Fri Nov 22 17:03:35 CET 2024 XML source: /Users/bluefire/git/uima-uimaj-release/uimaj-it-pear-with-typesystem/target/jcasgen/typesystem.xml -
Uses of Annotation in org.apache.uima.jcas
Modifier and TypeMethodDescription<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
(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.Modifier and TypeMethodDescriptionJCas.getAnnotationIndex()
Get the standard annotation index.JFSIndexRepository.getAnnotationIndex()
Get the standard annotation index. -
Uses of Annotation in org.apache.uima.jcas.impl
Modifier and TypeMethodDescription<T extends Annotation>
AnnotationIndex<T> JCasImpl.getAnnotationIndex
(int type) <T extends Annotation>
AnnotationIndex<T> JCasImpl.getAnnotationIndex
(Class<T> clazz) <T extends Annotation>
AnnotationIndex<T> JCasImpl.getAnnotationIndex
(Type type) <T extends Annotation>
AnnotationIndex<T> JFSIndexRepositoryImpl.getAnnotationIndex
(int type) Modifier and TypeMethodDescriptionJCasImpl.getAnnotationIndex()
JFSIndexRepositoryImpl.getAnnotationIndex()
-
Uses of Annotation in org.apache.uima.jcas.tcas
Modifier and TypeClassDescriptionclass
The JCas class definition for the CASDocumentAnnotation
type.Modifier and TypeMethodDescriptionstatic Annotation
Annotation._createMarkerAnnotation
(JCas aJCas, int aBegin, int aEnd) For internal use bySelectFSs_impl
Modifier and TypeMethodDescriptionfinal int
Annotation.compareAnnotation
(Annotation other) Compare two annotations, no type orderfinal int
Annotation.compareAnnotation
(Annotation other, LinearTypeOrder lto) Compare two annotations incl type orderfinal int
Annotation.compareAnnotationWithId
(Annotation other) Compare two annotations, with id comparefinal int
Annotation.compareAnnotationWithId
(Annotation other, LinearTypeOrder lto) Compare two annotations, with type order, with id compare -
Uses of Annotation in org.apache.uima.tools.viewer
Modifier and TypeMethodDescriptionCasAnnotationViewer.DefaultEntityResolver.getEntity
(Annotation inAnnotation) EntityResolver.getEntity
(Annotation aAnnotation) Returns theEntity
to which an annotation refers.