|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.constant.Relation
public class Relation
Strictly defined names of semantic relations used in all wiktionaries.
http://en.wiktionary.org/wiki/Wiktionary:Semantic_relations
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public String toString()
toString
in class Object
public String toString(LanguageType l)
public String getShortName(LanguageType l)
public static boolean has(String name)
public static Relation get(String name)
public static int size()
public static Collection<Relation> getAllRelations()
public static Relation[] getAllRelationsOrderedArray()
public static Set<String> getAllRelationNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |