public final class PtType extends Object implements Serializable
PtType
s. Each PtType
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.Modifier and Type | Field and Description |
---|---|
static PtType |
ANTONYM |
static PtType |
ATTRIBUTE |
static PtType |
CAUSE |
static PtType |
DERIVED |
static PtType |
ENTAILS |
static PtType |
IN_CATEGORY |
static PtType |
IN_REGION |
static PtType |
INSTANCE_OF |
static PtType |
KIND_OF |
static PtType |
MEMBER_OF |
static PtType |
NOMINALIZATION |
static PtType |
PART_OF |
static PtType |
PARTICIPLE_OF |
static PtType |
PERTAINYM |
static PtType |
SEE_ALSO |
static PtType |
SIMILAR_TO |
static PtType |
SUBSTANCE_OF |
static PtType |
USAGE |
static PtType |
VERB_GROUP |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(net.didion.jwnl.data.POS pos)
Whether or not this PtType can be associated with
pos |
static List<PtType> |
getAllPointerTypes() |
static List<PtType> |
getAllPointerTypesForPOS(net.didion.jwnl.data.POS pos) |
Class<? extends SemanticLink> |
getClazz() |
String |
getKey() |
String |
getLabel() |
static PtType |
getPointerTypeForClass(Class<? extends SemanticLink> key) |
static PtType |
getPointerTypeForKey(String key)
Return the
PtType whose key matches key. |
int |
hashCode() |
static void |
initialize() |
String |
toString() |
public static final PtType ANTONYM
public static final PtType IN_CATEGORY
public static final PtType IN_REGION
public static final PtType USAGE
public static final PtType KIND_OF
public static final PtType NOMINALIZATION
public static final PtType ATTRIBUTE
public static final PtType SEE_ALSO
public static final PtType MEMBER_OF
public static final PtType SUBSTANCE_OF
public static final PtType PART_OF
public static final PtType INSTANCE_OF
public static final PtType ENTAILS
public static final PtType CAUSE
public static final PtType VERB_GROUP
public static final PtType SIMILAR_TO
public static final PtType PARTICIPLE_OF
public static final PtType PERTAINYM
public static final PtType DERIVED
public static void initialize()
public static PtType getPointerTypeForKey(String key)
PtType
whose key matches key.public static PtType getPointerTypeForClass(Class<? extends SemanticLink> key)
public static List<PtType> getAllPointerTypesForPOS(net.didion.jwnl.data.POS pos)
public String getKey()
public String getLabel()
public Class<? extends SemanticLink> getClazz()
public boolean appliesTo(net.didion.jwnl.data.POS pos)
pos
Copyright © 2015. All rights reserved.