|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Relation
Represents WordNet relation.
Field Summary | |
---|---|
static int |
REL_ANTONYM
! |
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
Hypernym (noun,verb) |
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 |
---|
static final int REL_ANTONYM
static final int REL_HYPERNYM
static final int REL_HYPONYM
static final int REL_MEMBER_HOLONYM
static final int REL_SUBSTANCE_HOLONYM
static final int REL_PART_HOLONYM
static final int REL_MEMBER_MERONYM
static final int REL_SUBSTANCE_MERONYM
static final int REL_PART_MERONYM
static final int REL_ATTRIBUTE
static final int REL_ENTAILMENT
static final int REL_CAUSE
static final int REL_SEE_ALSO
static final int REL_VERB_GROUP
static final int REL_PARTICIPLE_OF_VERB
static final int REL_SIMILAR_TO
static final int REL_PERTAINYM
static final int REL_DERIVED_FROM_ADJECTIVE
Method Detail |
---|
int getType()
int getInverseType()
String getLabel()
String getSymbol()
boolean isApplicableTo(int pos)
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |