public class NamedEntityLookupConsumerImpl extends BaseLookupConsumerImpl
BaseLookupConsumerImpl.LookupHitKey
Constructor and Description |
---|
NamedEntityLookupConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props) |
NamedEntityLookupConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props,
int maxListSize) |
Modifier and Type | Method and Description |
---|---|
void |
consumeHits(org.apache.uima.jcas.JCas jcas,
Iterator<LookupHit> lhItr)
Consumes the hits produced by the LookupAnnotator.
|
createLookupHitMap, organizeByOffset
public NamedEntityLookupConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props, int maxListSize)
public NamedEntityLookupConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props)
public void consumeHits(org.apache.uima.jcas.JCas jcas, Iterator<LookupHit> lhItr) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
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.