|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.cis.propbank_shen.ArgLabel
public final class ArgLabel
An Argument Label represents the information ascribed to an argument in a predicate-argument structure. A Basic Argument label just ascribes a number, such as Arg0, Arg1, .... There is also ArgM for a modifying argument, and ArgA for a causative agent.
PAStruct
Field Summary | |
---|---|
static ArgLabel |
ARG0
Numbered arguments |
static ArgLabel |
ARG1
|
static ArgLabel |
ARG2
|
static ArgLabel |
ARG3
|
static ArgLabel |
ARG4
|
static ArgLabel |
ARG5
|
static ArgLabel |
ARG6
|
static ArgLabel |
ARG7
|
static ArgLabel |
ARG8
|
static ArgLabel |
ARG9
|
static ArgLabel |
ARGA
Causative agent. |
static ArgLabel |
ARGM
Modifying argument -- an adjunct in the argument/adjuct "distinction" |
static String |
prefix
|
static ArgLabel |
REL
this label is used for the predicating verb. |
static ArgLabel |
TBERR
This label is used by our annotators whenever they feel the predicate argument structure cannot be annotated correctly due to an error in the treebank. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getName()
get the name associated with the label all labels have names. |
int |
getNum()
get the numbner associated with the label, if the number is meaningless, return -1 |
boolean |
isArgA()
|
boolean |
isArgM()
|
boolean |
isArgument()
|
boolean |
isNumbered()
|
boolean |
isRel()
|
static ArgLabel |
ofString(String s)
create an argument from a string of the form "Arg |
String |
toString()
create a string representation of the argument label. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static String prefix
public static final ArgLabel ARGM
public static final ArgLabel ARGA
public static final ArgLabel REL
public static final ArgLabel TBERR
public static final ArgLabel ARG0
public static final ArgLabel ARG1
public static final ArgLabel ARG2
public static final ArgLabel ARG3
public static final ArgLabel ARG4
public static final ArgLabel ARG5
public static final ArgLabel ARG6
public static final ArgLabel ARG7
public static final ArgLabel ARG8
public static final ArgLabel ARG9
Method Detail |
---|
public String toString()
toString
in class Object
public static ArgLabel ofString(String s) throws CorruptDataException
s
- the string from which the resulting arg label is made
CorruptDataException
public boolean isRel()
public boolean isArgM()
public boolean isArgA()
public boolean isNumbered()
public boolean isArgument()
public int getNum()
public String getName()
public boolean equals(Object o)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |