org.apache.ctakes.smokingstatus.ae
Class KuRuleBasedClassifierAnnotator
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.ctakes.smokingstatus.ae.KuRuleBasedClassifierAnnotator
- All Implemented Interfaces:
- org.apache.uima.analysis_component.AnalysisComponent
public class KuRuleBasedClassifierAnnotator
- extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Method Summary |
void |
initialize(org.apache.uima.UimaContext aContext)
|
void |
process(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 |
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 |
smokingWords
java.util.Set<java.lang.String> smokingWords
unknownWords
java.util.Set<java.lang.String> unknownWords
classAttributeName
java.lang.String classAttributeName
caseSensitive
boolean caseSensitive
KuRuleBasedClassifierAnnotator
public KuRuleBasedClassifierAnnotator()
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.jcas.JCas jcas)
- Specified by:
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase