public class UmlsAmbiguityOntology extends UmlsOntology implements Ontology
UMLS ontology with sense disambiguation
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
UmlsAmbiguityOntology(Lemmatiser lemmatiser) |
UmlsAmbiguityOntology(String workDir,
Lemmatiser lemmatiser) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
|
int |
getMaxSkippedWords() |
double |
getMinScore() |
double |
getMinSelectivity() |
SemanticNet |
getSemanticNet()
Gets the semantic network of the ontology
|
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
|
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.
|
void |
setMaxSkippedWords(int num) |
void |
setMinScore(double minScore) |
void |
setMinSelectivity(double minSelectivity) |
buildString, getAdjectiveTermOption, getCoordinateOption, getLemma, getLemmaOption, getNonBoundaryPunctuation, getNPPOption, getSenseDisambiguationOption, getSimilarityMetric, isBoundaryWord, isStartingWord, isUsefulForTerm, setAdjectiveTermOption, setCoordinateOption, setLemmaOption, setNonBoundaryPunctuation, setNPPOption, setSenseDisambiguationOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAdjectiveTermOption, getCoordinateOption, getLemmaOption, getNPPOption, getSenseDisambiguationOption, getSimilarityMetric, isStartingWord, setAdjectiveTermOption, setCoordinateOption, setLemmaOption, setNPPOption, setSenseDisambiguationOptionpublic UmlsAmbiguityOntology(Lemmatiser lemmatiser)
public UmlsAmbiguityOntology(String workDir, Lemmatiser lemmatiser)
public void setMinScore(double minScore)
public double getMinScore()
public void setMinSelectivity(double minSelectivity)
public double getMinSelectivity()
public void setMaxSkippedWords(int num)
public int getMaxSkippedWords()
public SemanticNet getSemanticNet()
OntologygetSemanticNet in interface OntologygetSemanticNet in class AbstractOntologypublic String[] getSemanticType(String[] cuis)
OntologygetSemanticType in interface Ontologycuis - the set of conceptspublic String[] getSemanticType(String cui)
OntologygetSemanticType in interface Ontologycui - the concept idpublic String[] getCUI(String term)
Ontologypublic String[] getCUI(Word starting, Word ending)
Ontologypublic boolean isTerm(String term)
Ontologypublic boolean isTerm(Word starting, Word ending)
Ontologypublic ArrayList findAllTerms(Word start)
OntologyfindAllTerms in interface Ontologystart - the starting wordpublic ArrayList findAllTerms(Word start, Word end)
OntologyfindAllTerms in interface Ontologystart - the starting wordend - the ending wordpublic Term findTerm(Word start)
OntologyCopyright © 2018 JULIE Lab, Germany. All rights reserved.