|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents WordNet relation.
Field Summary | |
static int |
REL_ANTONYM
! Antonym (noun,verb,adjective,adverb) |
static int |
REL_ATTRIBUTE
= Attribute (noun,adjective) |
static int |
REL_CAUSE
> Cause (verb) |
static int |
REL_DERIVED_FROM_ADJECTIVE
\ Derived from adjective (adverb) |
static int |
REL_ENTAILMENT
Entailment (verb) |
static int |
REL_HYPERNYM
|
static int |
REL_HYPONYM
~ Hyponym (noun,verb) |
static int |
REL_MEMBER_HOLONYM
#m Member holonym (noun) |
static int |
REL_MEMBER_MERONYM
%m Member meronym (noun) |
static int |
REL_PART_HOLONYM
#p Part holonym (noun) |
static int |
REL_PART_MERONYM
%p Part meronym (noun) |
static int |
REL_PARTICIPLE_OF_VERB
< Participle of verb (adjective) |
static int |
REL_PERTAINYM
\ Pertainym - pertains to noun (adjective) |
static int |
REL_SEE_ALSO
^ Also see (verb,adjective) |
static int |
REL_SIMILAR_TO
& Similar to (adjective) |
static int |
REL_SUBSTANCE_HOLONYM
#s Substance holonym (noun) |
static int |
REL_SUBSTANCE_MERONYM
%s Substance meronym (noun) |
static int |
REL_VERB_GROUP
$ Verb Group (verb) |
Method Summary | |
int |
getInverseType()
returns the inverse relation (Hyponym <-> Hypernym, etc) |
String |
getLabel()
returns a label for the relation, e.g. |
String |
getSymbol()
returns a symbol for the relation, e.g. |
int |
getType()
returns the type of the relation - one of REL_XXX |
boolean |
isApplicableTo(int pos)
checks if the relation is applicab;le to specific POS - see REL_XXX comments |
Field Detail |
public static final int REL_ANTONYM
public static final int REL_HYPERNYM
public static final int REL_HYPONYM
public static final int REL_MEMBER_HOLONYM
public static final int REL_SUBSTANCE_HOLONYM
public static final int REL_PART_HOLONYM
public static final int REL_MEMBER_MERONYM
public static final int REL_SUBSTANCE_MERONYM
public static final int REL_PART_MERONYM
public static final int REL_ATTRIBUTE
public static final int REL_ENTAILMENT
public static final int REL_CAUSE
public static final int REL_SEE_ALSO
public static final int REL_VERB_GROUP
public static final int REL_PARTICIPLE_OF_VERB
public static final int REL_SIMILAR_TO
public static final int REL_PERTAINYM
public static final int REL_DERIVED_FROM_ADJECTIVE
Method Detail |
public int getType()
public int getInverseType()
public String getLabel()
public String getSymbol()
public boolean isApplicableTo(int pos)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |