public class RoomNumberAnnotator extends JCasAnnotator_ImplBase
| Constructor and Description |
|---|
RoomNumberAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(UimaContext aContext)
Performs any startup tasks required by this component.
|
void |
process(JCas aJCas)
This method should be overriden by subclasses.
|
getRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextbatchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecificationpublic 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 AnalysisComponentinitialize in class AnalysisComponent_ImplBaseaContext - 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) throws AnalysisEngineProcessException
JCasAnnotator_ImplBaseAnnotator_ImplBase.hasNext() is called and returns
false (see AnalysisComponent for details).process in class JCasAnnotator_ImplBaseaJCas - a JCAS that this AnalysisComponent should process.AnalysisEngineProcessException - if a problem occurs during processingJCasAnnotator_ImplBase.process(JCas)Copyright © 2013. All Rights Reserved.