public class UmlsSemanticNet extends Object implements SemanticNet
UMLS semantic net for semantic relation operations
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
UmlsSemanticNet(Ontology ontology,
UmlsSTYList styList,
UmlsRelationNet relationNet) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHierarchy(String id)
Gete the hierarchy description fo the given semantic type or relation
|
Ontology |
getOntology()
Gets the ontology the current semantic network belongs to
|
String |
getRelationDesc(String id)
Gets the description of the given relation
|
String[] |
getRelations(String[] arrFirstST,
String[] arrSecondST)
Gets all possible relations between two sets of semantic types.
|
String[] |
getRelations(String firstST,
String secondST)
Gets all possible relations between two semantic types.
|
String |
getSemanticTypeDesc(String id)
Gets the description of the given semantic type
|
boolean |
isSemanticRelated(String[] arrFirstST,
String[] arrSecondST)
Tests if any one semantic type in the first set is related to any one semantic type in the second set.
|
boolean |
isSemanticRelated(String firstST,
String secondST)
Tests if there exists a relationship between the two given semantic types
|
public UmlsSemanticNet(Ontology ontology, UmlsSTYList styList, UmlsRelationNet relationNet)
public String[] getRelations(String[] arrFirstST, String[] arrSecondST)
SemanticNetgetRelations in interface SemanticNetarrFirstST - the first set of semantic typesarrSecondST - the second set of semantic typespublic String[] getRelations(String firstST, String secondST)
SemanticNetgetRelations in interface SemanticNetfirstST - the first semantic typesecondST - the second semantic typepublic boolean isSemanticRelated(String[] arrFirstST, String[] arrSecondST)
SemanticNetisSemanticRelated in interface SemanticNetarrFirstST - the first set of semantic typesarrSecondST - the second set of semantic typespublic boolean isSemanticRelated(String firstST, String secondST)
SemanticNetisSemanticRelated in interface SemanticNetfirstST - the first semantic typesecondST - the second semantic typepublic String getSemanticTypeDesc(String id)
SemanticNetgetSemanticTypeDesc in interface SemanticNetid - the entry id of the semantic typepublic String getRelationDesc(String id)
SemanticNetgetRelationDesc in interface SemanticNetid - the entry id of the relationpublic String getHierarchy(String id)
SemanticNetgetHierarchy in interface SemanticNetid - the entry if of the semantic type or the relationpublic Ontology getOntology()
SemanticNetgetOntology in interface SemanticNetCopyright © 2018 JULIE Lab, Germany. All rights reserved.