public abstract class UmlsExactOntology extends UmlsOntology
UMLS ontology for extracting UMLS defined medical concepts (CUIs) from text
Description:
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
UmlsExactOntology(Lemmatiser lemmatiser) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildNormalizedTerm(Word start,
Word end) |
ArrayList |
findAllTerms(Word start)
Finds out all terms beginning with the given word
|
ArrayList |
findAllTerms(Word start,
Word end)
Finds out all terms between the starting word and the ending word.
|
Term |
findTerm(Word start)
Finds the longest term starting with the given word.
|
Term |
findTerm(Word start,
Word end)
Finds the longest term starting with given word and ending no later than the given word.
|
abstract String[] |
getCUI(String term)
Gets all possible concept ids the specified term has
|
String[] |
getCUI(Word starting,
Word ending)
Gets all possible concept ids the specified term has
|
abstract String[] |
getSemanticType(String cui)
Gets all possible semantic types of the given concept
|
String[] |
getSemanticType(String[] cuis)
Gets all possible semantic types of the given concepts
|
abstract boolean |
isTerm(String term)
Tests if the given term is defined in the ontology.
|
boolean |
isTerm(Word starting,
Word ending)
Tests if the term specified by the starting word and the ending word is a term in the ontology.
|
buildString, getAdjectiveTermOption, getCoordinateOption, getLemma, getLemmaOption, getNonBoundaryPunctuation, getNPPOption, getSemanticNet, getSenseDisambiguationOption, getSimilarityMetric, isBoundaryWord, isStartingWord, isUsefulForTerm, setAdjectiveTermOption, setCoordinateOption, setLemmaOption, setNonBoundaryPunctuation, setNPPOption, setSenseDisambiguationOptionpublic UmlsExactOntology(Lemmatiser lemmatiser)
public String[] getSemanticType(String[] cuis)
Ontologycuis - the set of conceptspublic abstract String[] getSemanticType(String cui)
Ontologycui - the concept idpublic abstract String[] getCUI(String term)
Ontologyterm - the term for testingpublic String[] getCUI(Word starting, Word ending)
Ontologystarting - the starting word of the term.ending - the ending word of the term.public abstract boolean isTerm(String term)
Ontologyterm - the term for testingpublic boolean isTerm(Word starting, Word ending)
Ontologystarting - the starting word of the term.ending - the ending word of the term.public ArrayList findAllTerms(Word start)
Ontologystart - the starting wordpublic ArrayList findAllTerms(Word start, Word end)
Ontologystart - the starting wordend - the ending wordpublic Term findTerm(Word start)
Ontologystart - the starting wordpublic Term findTerm(Word start, Word end)
Ontologystart - the starting wordend - the ending wordCopyright © 2018 JULIE Lab, Germany. All rights reserved.