public interface SemanticNet
Interface of Semantic Network
Copyright: Copyright (c) 2003
Company:
| 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[] firstSemanticTypes,
String[] secondSemanticTypes)
Gets all possible relations between two sets of semantic types.
|
String[] |
getRelations(String firstSemanticType,
String secondSemanticType)
Gets all possible relations between two semantic types.
|
String |
getSemanticTypeDesc(String id)
Gets the description of the given semantic type
|
boolean |
isSemanticRelated(String[] firstSemanticTypes,
String[] secondSemanticTypes)
Tests if any one semantic type in the first set is related to any one semantic type in the second set.
|
boolean |
isSemanticRelated(String firstSemanticType,
String secondSemanticType)
Tests if there exists a relationship between the two given semantic types
|
Ontology getOntology()
String getSemanticTypeDesc(String id)
id - the entry id of the semantic typeString getRelationDesc(String id)
id - the entry id of the relationString getHierarchy(String id)
id - the entry if of the semantic type or the relationString[] getRelations(String[] firstSemanticTypes, String[] secondSemanticTypes)
firstSemanticTypes - the first set of semantic typessecondSemanticTypes - the second set of semantic typesString[] getRelations(String firstSemanticType, String secondSemanticType)
firstSemanticType - the first semantic typesecondSemanticType - the second semantic typeboolean isSemanticRelated(String[] firstSemanticTypes, String[] secondSemanticTypes)
firstSemanticTypes - the first set of semantic typessecondSemanticTypes - the second set of semantic typesboolean isSemanticRelated(String firstSemanticType, String secondSemanticType)
firstSemanticType - the first semantic typesecondSemanticType - the second semantic typeCopyright © 2018 JULIE Lab, Germany. All rights reserved.