IdentifiedAnnotationUtil - apache/ctakes GitHub Wiki
A one-stop shop for the most commonly requested Identified Annotation properties.
- Author: SPF , chip-nlp
- Version: %I%
-
Since: 4/21/2020
-
Parameters:
-
annotation-
-
-
Returns: true iff the annotation is not generic, not uncertain, not negated and not conditional.
-
Parameters:
-
annotation-
-
-
Returns: Semantic Groups for all Umls Concepts of the annotation
-
Parameters:
-
annotation-
-
-
Returns: Semantic Tuis for all Umls Concepts of the annotation
-
Parameters:
-
annotation-
-
-
Returns: cuis for all Umls Concepts of the annotation
-
Parameters:
-
annotation-
-
-
Returns: a collection of schemes with codes for the given annotation. e.g. snomed_us, rxnorm.
static public Collection<String> getCodes( final IdentifiedAnnotation annotation, final String schemeName )
-
Parameters:
-
annotation- -
schemeNamethe name of a coding scheme. e.g. snomed_us, rxnorm.
-
-
Returns: all annotation codes for the given coding scheme.
-
Parameters:
-
annotation-
-
-
Returns: preferred texts for all Umls Concepts of the annotation
-
Parameters:
-
annotation-
-
-
Returns: the confidence of the annotation
static public Collection<SemanticGroup> getBestSemanticGroups( final IdentifiedAnnotation annotation )
-
Parameters:
-
annotation-
-
-
Returns: the best wsd SemanticGroups
-
Parameters:
-
annotation-
-
-
Returns: the best wsd SemanticGroups
-
Parameters:
-
annotation-
-
-
Returns: the best wsd SemanticTuis
-
Parameters:
-
annotation-
-
-
Returns: the best wsd cuis
-
Parameters:
-
annotation-
-
-
Returns: a collection of the best wsd schemes with codes for the given annotation. e.g. snomed_us, rxnorm.
static public Collection<String> getBestCodes( final IdentifiedAnnotation annotation, final String schemeName )
-
Parameters:
-
annotation- -
schemeNamethe name of a coding scheme. e.g. snomed_us, rxnorm.
-
-
Returns: the best wsd annotation codes for the given coding scheme.
-
Parameters:
-
annotation-
-
- Returns: preferred texts for the best wsd Umls Concepts of the annotation