|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.extjwnl.data.PointerType
public class PointerType
Instances of this class enumerate the possible WordNet pointer types,
and are used to label PointerType
s. Each PointerType
carries additional information: a human-readable label, an optional reflexive
type that labels links pointing the opposite direction, an encoding of
parts-of-speech that it applies to, and a short string that represents it in
the dictionary files.
Field Summary | |
---|---|
static PointerType |
ANTONYM
|
static PointerType |
ATTRIBUTE
|
static PointerType |
CATEGORY
|
static PointerType |
CATEGORY_MEMBER
|
static PointerType |
CAUSE
|
static PointerType |
DOMAIN_ALL
|
static PointerType |
ENTAILMENT
|
static PointerType |
HYPERNYM
|
static PointerType |
HYPONYM
|
static PointerType |
INSTANCE_HYPERNYM
|
static PointerType |
INSTANCES_HYPONYM
|
static PointerType |
MEMBER_ALL
|
static PointerType |
MEMBER_HOLONYM
|
static PointerType |
MEMBER_MERONYM
|
static PointerType |
NOMINALIZATION
|
static PointerType |
PART_HOLONYM
|
static PointerType |
PART_MERONYM
|
static PointerType |
PARTICIPLE_OF
|
static PointerType |
PERTAINYM
|
static PointerType |
REGION
|
static PointerType |
REGION_MEMBER
|
static PointerType |
SEE_ALSO
|
static PointerType |
SIMILAR_TO
|
static PointerType |
SUBSTANCE_HOLONYM
|
static PointerType |
SUBSTANCE_MERONYM
|
static PointerType |
USAGE
|
static PointerType |
USAGE_MEMBER
|
static PointerType |
VERB_GROUP
|
Method Summary | |
---|---|
boolean |
appliesTo(POS pos)
Returns whether or not this PointerType can be associated with pos. |
int |
compareTo(PointerType o)
|
static List<PointerType> |
getAllPointerTypes()
|
static List<PointerType> |
getAllPointerTypesForPOS(POS pos)
|
int |
getFlags()
|
int |
getId()
|
String |
getKey()
|
String |
getLabel()
|
static PointerType |
getPointerTypeForKey(String key)
Return the PointerType whose key matches key and applies to pos. |
PointerType |
getSymmetricType()
Returns the pointer type that is symmetric to this type. |
int |
hashCode()
|
boolean |
isSymmetric()
|
static boolean |
isSymmetric(PointerType type)
Returns true if type is a symmetric pointer type (it is its own symmetric type). |
boolean |
symmetricTo(PointerType type)
Returns true if type is symmetric to this pointer type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PointerType ANTONYM
public static final PointerType CATEGORY
public static final PointerType REGION
public static final PointerType USAGE
public static final PointerType DOMAIN_ALL
public static final PointerType HYPERNYM
public static final PointerType HYPONYM
public static final PointerType NOMINALIZATION
public static final PointerType INSTANCE_HYPERNYM
public static final PointerType INSTANCES_HYPONYM
public static final PointerType ATTRIBUTE
public static final PointerType SEE_ALSO
public static final PointerType MEMBER_HOLONYM
public static final PointerType SUBSTANCE_HOLONYM
public static final PointerType PART_HOLONYM
public static final PointerType MEMBER_MERONYM
public static final PointerType SUBSTANCE_MERONYM
public static final PointerType PART_MERONYM
public static final PointerType CATEGORY_MEMBER
public static final PointerType REGION_MEMBER
public static final PointerType USAGE_MEMBER
public static final PointerType MEMBER_ALL
public static final PointerType ENTAILMENT
public static final PointerType CAUSE
public static final PointerType VERB_GROUP
public static final PointerType SIMILAR_TO
public static final PointerType PARTICIPLE_OF
public static final PointerType PERTAINYM
Method Detail |
---|
public static boolean isSymmetric(PointerType type)
type
- pointer type
public static PointerType getPointerTypeForKey(String key)
PointerType
whose key matches key and applies to pos.
key
- pointer type key
PointerType
whose key matches keypublic static List<PointerType> getAllPointerTypes()
public static List<PointerType> getAllPointerTypesForPOS(POS pos)
public String toString()
toString
in class Object
public String getKey()
public String getLabel()
public boolean appliesTo(POS pos)
pos
- part of speech
public boolean isSymmetric()
public boolean symmetricTo(PointerType type)
type
- pointer type
public PointerType getSymmetricType()
public int getFlags()
public int getId()
public int hashCode()
hashCode
in class Object
public int compareTo(PointerType o)
compareTo
in interface Comparable<PointerType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |