Package org.apache.uima.analysis_engine.annotator
The Annotator Interfaces, along with supporting interfaces and exception classes.
The annotator interfaces are as follows:
: the base interface for all annotators. Annotators should not implement this directly.BaseAnnotator
: an annotator that can process any type of entity.GenericAnnotator
: an annotator that processes text documents.TextAnnotator
: similar toJTextAnnotator
TextAnnotator
, but uses the Java-object-basedJCas
interface instead of the standardCAS
interface.
-
Interface Summary Interface Description AnnotatorContext Deprecated. As of release 2.3.0, use UimaContext insteadBaseAnnotator Base interface for annotators in UIMA SDK v1.x.GenericAnnotator Deprecated. As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase insteadJTextAnnotator Deprecated. As of release 2.3.0, use JCasAnnotator_ImplBase insteadTextAnnotator Deprecated. As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase instead -
Class Summary Class Description Annotator_ImplBase Deprecated. As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase insteadGenericAnnotator_ImplBase Deprecated. As of release 2.3.0, use CasAnnotator_ImplBase or JCasAnnotator_ImplBase insteadJTextAnnotator_ImplBase Deprecated. As of release 2.3.0, use JCasAnnotator_ImplBase instead -
Exception Summary Exception Description AnnotatorConfigurationException AnAnnotatorConfigurationException
is thrown by an annotator if the settings of its configuration parameters are invalid.AnnotatorContextException AnAnnotatorContextException
is thrown by anAnnotatorContext
if it cannot complete the invoked operation due to a failure in the underlying implementation.AnnotatorInitializationException AnAnnotatorInitializationException
may be thrown by an annotator's initialize method, indicating that the annotator failed to successfully initialize itself.AnnotatorProcessException AnAnnotatorProcessException
may be thrown by an annotator's process method, indicating that a failure occurred during processing.