Class PointerType
java.lang.Object
net.didion.jwnl.data.PointerType
- All Implemented Interfaces:
Serializable
Instances of this class enumerate the possible WordNet pointer types,
and are used to label
PointerTypes. 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.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerTypestatic final PointerType -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether or not this PointerType can be associated withposstatic Liststatic ListgetKey()getLabel()static PointerTypeReturn thePointerTypewhose key matches key.Returns the pointer type that is symmetric to this type.inthashCode()static voidbooleanstatic booleanisSymmetric(PointerType type) Returns true if type is a symmetric pointer type (it is its own symmetric type).booleansymmetricTo(PointerType type) Returns true if type is symmetric to this pointer type.toString()
-
Field Details
-
ANTONYM
-
CATEGORY
-
REGION
-
USAGE
-
HYPERNYM
-
HYPONYM
-
NOMINALIZATION
-
INSTANCE_HYPERNYM
-
INSTANCES_HYPONYM
-
ATTRIBUTE
-
SEE_ALSO
-
MEMBER_HOLONYM
-
SUBSTANCE_HOLONYM
-
PART_HOLONYM
-
MEMBER_MERONYM
-
SUBSTANCE_MERONYM
-
PART_MERONYM
-
CATEGORY_MEMBER
-
REGION_MEMBER
-
USAGE_MEMBER
-
ENTAILMENT
-
ENTAILED_BY
-
CAUSE
-
VERB_GROUP
-
SIMILAR_TO
-
PARTICIPLE_OF
-
PERTAINYM
-
DERIVED
-
-
Method Details
-
initialize
public static void initialize() -
isSymmetric
Returns true if type is a symmetric pointer type (it is its own symmetric type). -
getPointerTypeForKey
Return thePointerTypewhose key matches key. -
getAllPointerTypes
-
getAllPointerTypesForPOS
-
toString
-
getKey
-
getLabel
-
appliesTo
Whether or not this PointerType can be associated withpos -
isSymmetric
public boolean isSymmetric() -
symmetricTo
Returns true if type is symmetric to this pointer type. -
getSymmetricType
Returns the pointer type that is symmetric to this type. -
hashCode
-