public class SmokerNamedEntityLookupConsumerImpl extends BaseLookupConsumerImpl implements LookupConsumer
BaseLookupConsumerImpl.LookupHitKey
Constructor and Description |
---|
SmokerNamedEntityLookupConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props) |
Modifier and Type | Method and Description |
---|---|
void |
consumeHits(org.apache.uima.jcas.JCas jcas,
Iterator lhItr)
Consumes the hits produced by the LookupAnnotator.
|
createLookupHitMap, organizeByOffset
public SmokerNamedEntityLookupConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props)
public void consumeHits(org.apache.uima.jcas.JCas jcas, Iterator lhItr) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
LookupConsumer
consumeHits
in interface LookupConsumer
jcas
- CAS for storing datalhItr
- Iterator over LookupHit objects. These objects contain data
about the annotation span plus any associated metadata.org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.