public class AssertionCuePhraseConsumerImpl extends BaseLookupConsumerImpl implements LookupConsumer
BaseLookupConsumerImpl.LookupHitKey
Modifier and Type | Field and Description |
---|---|
static String |
CUE_PHRASE_CATEGORY_FIELD_NAME |
static String |
CUE_PHRASE_FAMILY_FIELD_NAME |
static String |
CUE_PHRASE_FIELD_NAME |
static String |
CUE_PHRASE_FIRST_WORD_FIELD_NAME |
Constructor and Description |
---|
AssertionCuePhraseConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props) |
AssertionCuePhraseConsumerImpl(org.apache.uima.UimaContext aCtx,
Properties props,
int maxListSize) |
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 static final String CUE_PHRASE_FIELD_NAME
public static final String CUE_PHRASE_CATEGORY_FIELD_NAME
public static final String CUE_PHRASE_FAMILY_FIELD_NAME
public static final String CUE_PHRASE_FIRST_WORD_FIELD_NAME
public AssertionCuePhraseConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props, int maxListSize) throws Exception
Exception
public AssertionCuePhraseConsumerImpl(org.apache.uima.UimaContext aCtx, Properties props) throws Exception
Exception
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.