|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.cis.propbank_shen.ModLabel
public final class ModLabel
A class emulating an enumeration of labels representing "modifiers" in the propbank. Even though there is obviously a vast amount of overlap between the denotation of the labels, a single modifier is chosen as the appropriate annotation if it is deemed "the most" appropriate. I don't think this distinction is at all well defined, but it is common practice in this field and what the linguists want.
Field Summary | |
---|---|
static ModLabel |
ADV
|
static ModLabel |
CAU
|
static ModLabel |
DIR
|
static ModLabel |
EXT
|
static ModLabel |
LOC
|
static ModLabel |
MNR
|
static ModLabel |
MOD
|
static ModLabel |
PNC
|
static ModLabel |
PRD
|
static ModLabel |
PRP
|
static ModLabel |
REC
|
static ModLabel |
STR
|
static ModLabel |
TMP
|
Method Summary | |
---|---|
boolean |
equals(Object label)
|
String |
getDescription()
Return a brief english description of the associated label |
static ModLabel |
ofString(String s)
Given a string, return the associated ModLabel |
ModLabel |
prepMod(String prep)
|
String |
toString()
Convert a ModLabel to a string |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ModLabel EXT
public static final ModLabel LOC
public static final ModLabel DIR
public static final ModLabel MOD
public static final ModLabel ADV
public static final ModLabel MNR
public static final ModLabel PRD
public static final ModLabel REC
public static final ModLabel TMP
public static final ModLabel PRP
public static final ModLabel PNC
public static final ModLabel CAU
public static final ModLabel STR
Method Detail |
---|
public final ModLabel prepMod(String prep)
public final String toString()
toString
in class Object
public static final ModLabel ofString(String s)
s
- the string to be converted to a ModLabelpublic boolean equals(Object label)
equals
in class Object
public final String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |