Modifier and Type | Method and Description |
---|---|
Collection<RareWordDictionary> |
AbstractJCasTermAnnotator.getDictionaries() |
Collection<RareWordDictionary> |
JCasTermAnnotator.getDictionaries() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultJCasTermAnnotator.findTerms(RareWordDictionary dictionary,
List<FastLookupToken> allTokens,
List<Integer> lookupTokenIndices,
CollectionMap<TextSpan,Long,? extends Collection<Long>> termsFromDictionary)
Given a dictionary, tokens, and lookup token indices, populate a terms collection with discovered terms
|
void |
JCasTermAnnotator.findTerms(RareWordDictionary dictionary,
List<FastLookupToken> allTokens,
List<Integer> lookupTokenIndices,
CollectionMap<TextSpan,Long,? extends Collection<Long>> termsFromDictionary)
Given a dictionary, tokens, and lookup token indices, populate a terms collection with discovered terms
|
void |
OverlapJCasTermAnnotator.findTerms(RareWordDictionary dictionary,
List<FastLookupToken> allTokens,
List<Integer> lookupTokenIndices,
CollectionMap<TextSpan,Long,? extends Collection<Long>> termsFromDictionary)
Given a dictionary, tokens, and lookup token indices, populate a terms collection with discovered terms
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractJCasTermAnnotator.processWindow(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation window,
Map<RareWordDictionary,CollectionMap<TextSpan,Long,? extends Collection<Long>>> dictionaryTerms)
Processes a window of annotations for dictionary terms
|
void |
WindowProcessor.processWindow(org.apache.uima.jcas.JCas jcas,
org.apache.uima.jcas.tcas.Annotation window,
Map<RareWordDictionary,CollectionMap<TextSpan,Long,? extends Collection<Long>>> dictionaryTerms)
Processes a window of annotations for dictionary terms
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTermConsumer.consumeHits(org.apache.uima.jcas.JCas jcas,
RareWordDictionary dictionary,
CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis,
CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) |
void |
SemanticCleanupTermConsumer.consumeHits(org.apache.uima.jcas.JCas jcas,
RareWordDictionary dictionary,
CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis,
CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts)
Refine a collection of dictionary terms to only contain the most specific variations:
"colon cancer" instead of "cancer", performed by span inclusion /complete containment, not overlap.
|
void |
TermConsumer.consumeHits(org.apache.uima.jcas.JCas jcas,
RareWordDictionary dictionary,
CollectionMap<TextSpan,Long,? extends Collection<Long>> textSpanCuis,
CollectionMap<Long,Concept,? extends Collection<Concept>> cuiConcepts) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractRareWordDictionary
Author: SPF
Affiliation: CHIP-NLP
Date: 11/25/13
|
class |
BsvRareWordDictionary
A RareWordDictionary created from a bar-separated value (BSV) file.
|
class |
JdbcRareWordDictionary
Preferred dictionary to use for large collections of terms.
|
class |
MemRareWordDictionary
A RareWordDictionary that uses a HashMap of Rare Words and Terms for lookup
Author: SPF
Affiliation: CHIP-NLP
Date: 1/9/14
|
class |
UmlsJdbcRareWordDictionary |
Modifier and Type | Method and Description |
---|---|
RareWordDictionary |
DefaultDictionarySpec.getDictionary(String pairName) |
RareWordDictionary |
DictionarySpec.getDictionary(String pairName) |
Modifier and Type | Method and Description |
---|---|
Collection<RareWordDictionary> |
DefaultDictionarySpec.getDictionaries() |
Collection<RareWordDictionary> |
DictionarySpec.getDictionaries() |
Collection<RareWordDictionary> |
DefaultDictionarySpec.getPairedDictionaries(String conceptFactoryName) |
Collection<RareWordDictionary> |
DictionarySpec.getPairedDictionaries(String conceptFactoryName) |
Constructor and Description |
---|
DefaultDictionarySpec(Map<String,String> pairDictionaryNames,
Map<String,String> pairConceptFactoryNames,
Map<String,RareWordDictionary> dictionaries,
Map<String,ConceptFactory> conceptFactories,
TermConsumer termConsumer) |
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.