Class Evaluator
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.Annotator_ImplBase
org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.fit.examples.experiment.pos.Evaluator
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
public class Evaluator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
This AE evaluates the system part-of-speech tags against the gold part-of-speech tags. This is a
very simple approach to evaluation of part-of-speech tags that will not likely suffice in
real-world scenarios for a number of reasons (e.g. no confusion matrix, assumes gold-standard
tokens and sentences in the system view, etc.)
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.uima.fit.component.JCasAnnotator_ImplBase
initializeMethods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, processMethods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, nextMethods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, destroy, getContext, getLogger, getResultSpecification, reconfigure, setResultSpecification
-
Constructor Details
-
Evaluator
public Evaluator()
-
-
Method Details
-
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
-
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
-