public enum RelationType extends Enum<RelationType>
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 and Description |
---|
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.
|
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).
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 nameNullPointerException
- if the argument is nullCopyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.