Class MSTParserAnnotator
- java.lang.Object
-
- org.apache.uima.analysis_component.AnalysisComponent_ImplBase
-
- org.apache.uima.analysis_component.Annotator_ImplBase
-
- org.apache.uima.analysis_component.JCasAnnotator_ImplBase
-
- de.julielab.jcore.ae.mstparser.main.MSTParserAnnotator
-
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
public class MSTParserAnnotator extends org.apache.uima.analysis_component.JCasAnnotator_ImplBaseThis is the analysis engine (AE) which uses the MST parser.- Author:
- Lichtenwald
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_IDstatic StringPARAM_MAX_NUM_TOKENSstatic StringRESOURCE_MODEL
-
Constructor Summary
Constructors Constructor Description MSTParserAnnotator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectionProcessComplete()voiddestroy()protected StringgetDocId(org.apache.uima.jcas.JCas jcas)voidinitialize(org.apache.uima.UimaContext aContext)voidprocess(org.apache.uima.jcas.JCas jcas)-
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
-
-
-
-
Field Detail
-
COMPONENT_ID
public static final String COMPONENT_ID
- See Also:
- Constant Field Values
-
PARAM_MAX_NUM_TOKENS
public static final String PARAM_MAX_NUM_TOKENS
- See Also:
- Constant Field Values
-
RESOURCE_MODEL
public static final String RESOURCE_MODEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException- Specified by:
initializein interfaceorg.apache.uima.analysis_component.AnalysisComponent- Overrides:
initializein classorg.apache.uima.analysis_component.AnalysisComponent_ImplBase- Throws:
org.apache.uima.resource.ResourceInitializationException
-
process
public void process(org.apache.uima.jcas.JCas jcas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException- Specified by:
processin classorg.apache.uima.analysis_component.JCasAnnotator_ImplBase- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
-
getDocId
protected String getDocId(org.apache.uima.jcas.JCas jcas)
-
collectionProcessComplete
public void collectionProcessComplete() throws org.apache.uima.analysis_engine.AnalysisEngineProcessException- Specified by:
collectionProcessCompletein interfaceorg.apache.uima.analysis_component.AnalysisComponent- Overrides:
collectionProcessCompletein classorg.apache.uima.analysis_component.AnalysisComponent_ImplBase- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.apache.uima.analysis_component.AnalysisComponent- Overrides:
destroyin classorg.apache.uima.analysis_component.AnalysisComponent_ImplBase
-
-