org.apache.ctakes.padtermspotter.impl
Class PADTermConsumerImpl
java.lang.Object
org.apache.ctakes.dictionary.lookup.ae.BaseLookupConsumerImpl
org.apache.ctakes.padtermspotter.impl.PADConsumerImpl
org.apache.ctakes.padtermspotter.impl.PADTermConsumerImpl
- All Implemented Interfaces:
- LookupConsumer
public class PADTermConsumerImpl
- extends PADConsumerImpl
Constructor Summary |
PADTermConsumerImpl(org.apache.uima.UimaContext aCtx,
java.util.Properties props)
|
Method Summary |
void |
consumeHits(org.apache.uima.jcas.JCas jcas,
java.util.Iterator lhItr)
Consumes the hits produced by the LookupAnnotator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iv_logger
public static org.apache.log4j.Logger iv_logger
FALSE
public static int FALSE
TRUE
public static int TRUE
STAND_ALONE
public static java.lang.String STAND_ALONE
PADTermConsumerImpl
public PADTermConsumerImpl(org.apache.uima.UimaContext aCtx,
java.util.Properties props)
throws org.apache.uima.analysis_engine.annotator.AnnotatorContextException,
java.io.IOException
- Throws:
org.apache.uima.analysis_engine.annotator.AnnotatorContextException
java.io.IOException
consumeHits
public void consumeHits(org.apache.uima.jcas.JCas jcas,
java.util.Iterator lhItr)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
- Description copied from interface:
LookupConsumer
- Consumes the hits produced by the LookupAnnotator. This typically means
iterating over the hits and storing what's necessary to the JCas
- Specified by:
consumeHits
in interface LookupConsumer
- Specified by:
consumeHits
in class PADConsumerImpl
- Parameters:
jcas
- CAS for storing datalhItr
- Iterator over LookupHit objects. These objects contain data
about the annotation span plus any associated metadata.
- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException