|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.cis.propbank_shen.Predicate
public class Predicate
A class representing a "predicate" in the propbank frames. A predicate is either the root form of a verb, such as "go", or it is a phrasalized root form, such as "go on". Phrasalized forms have their parts joined by underscores.
Field Summary | |
---|---|
protected String |
lemma
the lemma (root form) associate with the predicate |
protected Node |
node
the node from the xml document used to create this Predicate object |
static String |
phrasalSep
the separator for phasal parts, here '_', so "go on" would be "go_on" |
protected List |
rolesets
a list of the rolesets associated with this predicate |
Constructor Summary | |
---|---|
Predicate(Node n)
construct a Predicate object from a predicate node in a frameset xml document |
Method Summary | |
---|---|
String |
getLemma()
return the lemma associated with this Predicate object |
List |
getRoleSets()
Return a list of the rolesets associated with this Predicate object. |
boolean |
isPhrasal()
return true iff this Predicate object refers to a phrasal predicate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String lemma
protected Node node
protected List rolesets
RoleSet
public static String phrasalSep
Constructor Detail |
---|
public Predicate(Node n) throws CorruptDataException
CorruptDataException
Method Detail |
---|
public String getLemma()
public boolean isPhrasal()
public List getRoleSets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |