@Deprecated public interface JTextAnnotator extends BaseAnnotator
JCasAnnotator_ImplBase.| Modifier and Type | Method and Description |
|---|---|
void |
process(JCas aJCas,
ResultSpecification aResultSpec)
Deprecated.
Invokes this annotator's analysis logic.
|
destroy, initialize, reconfigure, typeSystemInitvoid process(JCas aJCas, ResultSpecification aResultSpec) throws AnnotatorProcessException
JCas has been populated with the document to be analyzed as well as any
information that this annotator needs to do its processing. This annotator will access the data
in the JCas and add new data to the JCas.
The caller must also guarantee that the ResultSpecification falls within the scope of
the Capabilities of this annotator (as
published by its containing AnalysisEngine).
The annotator will only produce the output types and features that are declared in the
aResultSpec parameter.
aJCas - contains the document to be analyzed and may contain other metadata about that
document.aResultSpec - A list of output types and features that this annotator should produce.AnnotatorProcessException - if a failure occurs during processing.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.