public final class DefaultTermConsumer extends AbstractTermConsumer
Constructor and Description |
---|
DefaultTermConsumer(org.apache.uima.UimaContext uimaContext,
Properties properties) |
DefaultTermConsumer(org.apache.uima.UimaContext uimaContext,
Properties properties,
UmlsConceptCreator umlsConceptCreator) |
Modifier and Type | Method and Description |
---|---|
void |
consumeTypeIdHits(org.apache.uima.jcas.JCas jcas,
String codingScheme,
int cTakesSemantic,
CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis,
CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) |
consumeHits, getCodingScheme, getUsedcTakesSemantics, hascTakesSemantic
public DefaultTermConsumer(org.apache.uima.UimaContext uimaContext, Properties properties)
public DefaultTermConsumer(org.apache.uima.UimaContext uimaContext, Properties properties, UmlsConceptCreator umlsConceptCreator)
public void consumeTypeIdHits(org.apache.uima.jcas.JCas jcas, String codingScheme, int cTakesSemantic, CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis, CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
jcas
- -codingScheme
- - name of the coding scheme to use if no secondary (snomed, rxnorm) schemes existcTakesSemantic
- cTakes IdentifiedAnnotation only accepts an integer as a cTakesSemanticorg.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.