edu.brandeis.cs.steele.wn
Class PointerType
java.lang.Object
|
+--edu.brandeis.cs.steele.wn.PointerType
- public class PointerType
- extends java.lang.Object
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.
- See Also:
Pointer
,
POS
Constructor Summary |
protected |
PointerType(java.lang.String label,
java.lang.String key,
int flags)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
N
protected static final int N
V
protected static final int V
ADJ
protected static final int ADJ
ADV
protected static final int ADV
LEXICAL
protected static final int LEXICAL
CATS
protected static final POS[] CATS
POS_MASK
protected static final int[] POS_MASK
ANTONYM
public static final PointerType ANTONYM
HYPERNYM
public static final PointerType HYPERNYM
HYPONYM
public static final PointerType HYPONYM
ATTRIBUTE
public static final PointerType ATTRIBUTE
SEE_ALSO
public static final PointerType SEE_ALSO
ENTAILMENT
public static final PointerType ENTAILMENT
CAUSE
public static final PointerType CAUSE
VERB_GROUP
public static final PointerType VERB_GROUP
MEMBER_MERONYM
public static final PointerType MEMBER_MERONYM
SUBSTANCE_MERONYM
public static final PointerType SUBSTANCE_MERONYM
PART_MERONYM
public static final PointerType PART_MERONYM
MEMBER_HOLONYM
public static final PointerType MEMBER_HOLONYM
SUBSTANCE_HOLONYM
public static final PointerType SUBSTANCE_HOLONYM
PART_HOLONYM
public static final PointerType PART_HOLONYM
SIMILAR_TO
public static final PointerType SIMILAR_TO
PARTICIPLE_OF
public static final PointerType PARTICIPLE_OF
PERTAINYM
public static final PointerType PERTAINYM
DERIVED
public static final PointerType DERIVED
TYPES
public static final PointerType[] TYPES
- A list of all
PointerType
s.
label
protected java.lang.String label
key
protected java.lang.String key
flags
protected int flags
symmetricType
protected PointerType symmetricType
PointerType
protected PointerType(java.lang.String label,
java.lang.String key,
int flags)
setSymmetric
protected static void setSymmetric(PointerType a,
PointerType b)
getLabel
public java.lang.String getLabel()
appliesTo
public boolean appliesTo(POS pos)
symmetricTo
public boolean symmetricTo(PointerType type)