public class Relation extends Object
Modifier and Type | Field and Description |
---|---|
static Relation |
antonymy |
static Relation |
coordinate_term |
static Relation |
holonymy |
static Relation |
hypernymy |
static Relation |
hyponymy |
static Relation |
meronymy |
static Relation |
otherwise_related |
static Relation |
synonymy |
static Relation |
troponymy |
Modifier and Type | Method and Description |
---|---|
static Relation |
get(String name)
Gets semantic relation by its name
|
static Set<String> |
getAllRelationNames()
Gets all names of semantic relations.
|
static Collection<Relation> |
getAllRelations()
Gets all relations.
|
static Relation[] |
getAllRelationsOrderedArray()
Gets all relations (as Array[]).
|
String |
getShortName(LanguageType l)
Gets short name of Relation in the language l.
|
static boolean |
has(String name)
Checks weather exists a semantic relation by its name.
|
static int |
size()
Counts number of relations.
|
String |
toString() |
String |
toString(LanguageType l)
Gets name of Relation in the language l.
|
public static final Relation synonymy
public static final Relation antonymy
public static final Relation hypernymy
public static final Relation hyponymy
public static final Relation holonymy
public static final Relation meronymy
public static final Relation troponymy
public static final Relation coordinate_term
public static final Relation otherwise_related
public String toString(LanguageType l)
public String getShortName(LanguageType l)
public static boolean has(String name)
public static int size()
public static Collection<Relation> getAllRelations()
public static Relation[] getAllRelationsOrderedArray()
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.