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
|
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 |
---|---|
static CollectionMap<TextSpan,Long,? extends Collection<Long>> |
PrecisionTermConsumer.createPreciseTerms(CollectionMap<TextSpan,Long,? extends Collection<Long>> semanticTerms)
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
|
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) |
void |
DefaultTermConsumer.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) |
void |
PrecisionTermConsumer.consumeTypeIdHits(org.apache.uima.jcas.JCas jcas,
String defaultScheme,
int cTakesSemantic,
CollectionMap<TextSpan,Long,? extends Collection<Long>> semanticTerms,
CollectionMap<Long,Concept,? extends Collection<Concept>> conceptMap)
Only uses the largest spans for the type
|
void |
SemanticCleanupTermConsumer.consumeTypeIdHits(org.apache.uima.jcas.JCas jcas,
String defaultScheme,
int cTakesSemantic,
CollectionMap<TextSpan,Long,? extends Collection<Long>> semanticTerms,
CollectionMap<Long,Concept,? extends Collection<Concept>> conceptMap) |
void |
TermConsumer.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) |
static CollectionMap<TextSpan,Long,? extends Collection<Long>> |
PrecisionTermConsumer.createPreciseTerms(CollectionMap<TextSpan,Long,? extends Collection<Long>> semanticTerms)
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
|
Modifier and Type | Method and Description |
---|---|
TextSpan |
SpannedRareWordTerm.getTextSpan() |
Constructor and Description |
---|
SpannedRareWordTerm(RareWordTerm rareWordTerm,
TextSpan spanKey) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultTextSpan
A useful key for hash collections based upon start and end indices.
|
class |
MultiTextSpan
A useful key for hash collections based upon start and end indices and missing internal spans.
|
Modifier and Type | Method and Description |
---|---|
Collection<TextSpan> |
MultiTextSpan.getMissingSpans() |
Constructor and Description |
---|
MultiTextSpan(int start,
int end,
Collection<TextSpan> missingSpans)
Given span indices should be ordered start < end, but it is not an absolute requirement.
|
Modifier and Type | Method and Description |
---|---|
TextSpan |
FastLookupToken.getTextSpan() |
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.