org.apache.uima.tika
Class MarkupAnnotator
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.CasAnnotator_ImplBase
org.apache.uima.tika.MarkupAnnotator
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class MarkupAnnotator
- extends org.apache.uima.analysis_component.CasAnnotator_ImplBase
Uses TIKA to convert original markup into UIMA annotations*
Method Summary |
void |
initialize(org.apache.uima.UimaContext aContext)
|
void |
process(org.apache.uima.cas.CAS cas)
|
Methods inherited from class org.apache.uima.analysis_component.CasAnnotator_ImplBase |
getRequiredCasInterface, process, typeSystemInit |
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 |
MarkupAnnotator
public MarkupAnnotator()
initialize
public void initialize(org.apache.uima.UimaContext aContext)
throws org.apache.uima.resource.ResourceInitializationException
- Specified by:
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
- Overrides:
initialize
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
- Throws:
org.apache.uima.resource.ResourceInitializationException
process
public void process(org.apache.uima.cas.CAS cas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
- Specified by:
process
in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.