|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.tutorial.ex6.UimaAcronymAnnotator
public class UimaAcronymAnnotator
Annotates UIMA acronyms and provides their expanded forms. When combined in an aggregate TAE with the UimaMeetingAnnotator, demonstrates the use of the ResourceManager to share data between annotators.
Constructor Summary | |
---|---|
UimaAcronymAnnotator()
|
Method Summary | |
---|---|
void |
initialize(UimaContext aContext)
Performs any startup tasks required by this component. |
void |
process(JCas aJCas)
This method should be overriden by subclasses. |
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase |
---|
getRequiredCasInterface, process |
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase |
---|
getCasInstancesRequired, hasNext, next |
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase |
---|
batchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UimaAcronymAnnotator()
Method Detail |
---|
public void initialize(UimaContext aContext) throws ResourceInitializationException
AnalysisComponent
The framework supplies this AnalysisComponent with a reference to the UimaContext
that
it will use, for example to access configuration settings or resources. This AnalysisComponent
should store a reference to its the UimaContext
for later use.
initialize
in interface AnalysisComponent
initialize
in class AnalysisComponent_ImplBase
aContext
- Provides access to services and resources managed by the framework. This includes
configuration parameters, logging, and access to external resources.
ResourceInitializationException
- if this AnalysisComponent cannot initialize successfully.AnalysisComponent.initialize(UimaContext)
public void process(JCas aJCas)
JCasAnnotator_ImplBase
Annotator_ImplBase.hasNext()
is called and returns
false (see AnalysisComponent
for details).
process
in class JCasAnnotator_ImplBase
aJCas
- a JCAS that this AnalysisComponent should process.JCasAnnotator_ImplBase.process(JCas)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |