|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RelationType>
de.tudarmstadt.ukp.jwktl.api.RelationType
public enum RelationType
Represents the relation types used for IWiktionaryRelation
s. In the
examples below, $ARTICLE refers to the IWiktionarySense
(the
relation's source) and $LINK refers to the hyperlink text (i.e., the
referenced word; the relation's target).
Enum Constant Summary | |
---|---|
ANTONYM
Antonymy - $LINK has the opposite meaning of $ARTICLE (e.g., "bright" and "dark"). |
|
CHARACTERISTIC_WORD_COMBINATION
Collocation - $LINK represents a word or phrase that co-occurs frequently with $ARTICLE (e.g., "strong" co-occurs often with "tea" - "strong tea" is usually used although "powerful tea" would essentially denote the same meaning. |
|
COORDINATE_TERM
Cohyponymy - $LINK and $ARTICLE share the same hypernym, but are not synonyms or antonyms (e.g., "dog "and "cat", which are both animals). |
|
DERIVED_TERM
Morphological derivation - $LINK is derived from $ARTICLE (e.g., "driver" is derived from "drive" using the -er suffix). |
|
DESCENDANT
Etymological relation - $LINK is derived from $ARTICLE (e.g., "taxi" is a descendent of "taximeter") This type of relation usually targets at a foreign language word, i.e. the language of $LINK borrowed/inherited the lexical entry $ARTICLE (e.g., the German verb "zoomen" is a descendent of the English "(to) zoom"). |
|
ETYMOLOGICALLY_RELATED_TERM
Etymological relation - $LINK and $ARTICLE share the same etymology, but are not morphological derivations (e.g., "datum" and "data" share the same origin, but are not morphologically related). |
|
HOLONYM
Holonymy - $LINK is the whole of $ARTICLE (e.g., "tree" and "leaf"). |
|
HYPERNYM
Hypernymy - $LINK is more general than $ARTICLE (e.g., "building" and "factory"). |
|
HYPONYM
Hyponymy - $LINK is more specialized than $ARTICLE (e.g., "factory" and "building"). |
|
MERONYM
Meronymy - $LINK is a part of $ARTICLE (e.g., "leaf" and "tree"). |
|
SEE_ALSO
Other semantic relation - $LINK is related to $ARTICLE in some (associative) way (e.g., "product" and "multiplication"). |
|
SYNONYM
Synonymy - $LINK carries the same meaning as $ARTICLE (e.g., "plant" and "factory"). |
|
TROPONYM
Troponymy - $LINK is a certain manner of $ARTICLE (e.g., "(to) slice" is "(to) cut" in a certain manner). |
Method Summary | |
---|---|
static RelationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RelationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RelationType SYNONYM
public static final RelationType ANTONYM
public static final RelationType HYPERNYM
public static final RelationType HYPONYM
public static final RelationType HOLONYM
public static final RelationType MERONYM
public static final RelationType COORDINATE_TERM
public static final RelationType TROPONYM
public static final RelationType SEE_ALSO
public static final RelationType DERIVED_TERM
public static final RelationType ETYMOLOGICALLY_RELATED_TERM
public static final RelationType DESCENDANT
public static final RelationType CHARACTERISTIC_WORD_COMBINATION
Method Detail |
---|
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |