public interface Ontology
Interface of Ontology
Copyright: Copyright (c) 2003
Company:
| Modifier and Type | Method and Description |
|---|---|
ArrayList |
findAllTerms(Word starting)
Finds out all terms beginning with the given word
|
ArrayList |
findAllTerms(Word starting,
Word ending)
Finds out all terms between the starting word and the ending word.
|
Term |
findTerm(Word starting)
Finds the longest term starting with the given word.
|
Term |
findTerm(Word starting,
Word ending)
Finds the longest term starting with given word and ending no later than the given word.
|
boolean |
getAdjectiveTermOption()
Gets the option whether adjective term is allowed.
|
boolean |
getCoordinateOption()
Gets the option whether a term can contain a conjunction.
|
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
|
boolean |
getLemmaOption()
Gets the option of using the base form of the word when matching a term.
|
boolean |
getNPPOption()
Gets the option whether NPP term is allowed.
|
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 |
getSenseDisambiguationOption()
Gets the option disambiguating the sense of extracted terms.
|
SimilarityMetric |
getSimilarityMetric()
Get the similarity metric of the ontology
|
boolean |
isStartingWord(Word cur)
Tests if the current word could be a starting word of a term.
|
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 |
setAdjectiveTermOption(boolean enabled)
Sets the option whether adjective term is allowed.
|
void |
setCoordinateOption(boolean enabled)
Sets the option whether a term can contain a conjunction.
|
void |
setLemmaOption(boolean enabled)
Sets the option of using the base form of the word when matching a term.
|
void |
setNPPOption(boolean enabled)
Sets the option whether NPP term is allowed.
|
void |
setSenseDisambiguationOption(boolean enabled)
Sets the option disambiguating the sense of extracted terms.
|
SemanticNet getSemanticNet()
SimilarityMetric getSimilarityMetric()
String[] getSemanticType(String[] cuis)
cuis - the set of conceptsString[] getSemanticType(String cui)
cui - the concept idString[] getCUI(String term)
term - the term for testingString[] getCUI(Word starting, Word ending)
starting - the starting word of the term.ending - the ending word of the term.boolean isTerm(String term)
term - the term for testingboolean isTerm(Word starting, Word ending)
starting - the starting word of the term.ending - the ending word of the term.boolean isStartingWord(Word cur)
cur - the current wordTerm findTerm(Word starting)
starting - the starting wordTerm findTerm(Word starting, Word ending)
starting - the starting wordending - the ending wordArrayList findAllTerms(Word starting)
starting - the starting wordArrayList findAllTerms(Word starting, Word ending)
starting - the starting wordending - the ending wordvoid setSenseDisambiguationOption(boolean enabled)
enabled - the option disambiguating the sense of extracted terms.boolean getSenseDisambiguationOption()
void setAdjectiveTermOption(boolean enabled)
enabled - whether adjective term is allowed.boolean getAdjectiveTermOption()
void setNPPOption(boolean enabled)
enabled - the option whether NPP term is allowed.boolean getNPPOption()
void setCoordinateOption(boolean enabled)
enabled - the option whether a term can contain a conjunctionboolean getCoordinateOption()
void setLemmaOption(boolean enabled)
enabled - the option of using the base form of the word when matching a term.boolean getLemmaOption()
Copyright © 2018 JULIE Lab, Germany. All rights reserved.