|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.cis.propbank_shen.FrameSet
public class FrameSet
This is an interface to a frameset as defined in the propbank lexical guidelines. A frameset is associated with a single verb, and contains a list of "predicates", defined to be the verb itself plus any phrasal variants which constitute a distinct meaning.
Predicate
,
RoleSet
,
Example
,
Role
Field Summary | |
---|---|
protected Document |
doc
the xml document associated with the verb |
protected List |
predicates
a list of the associated predicates for this verb |
protected String |
verb
the root form of the verb |
Constructor Summary | |
---|---|
FrameSet(String v)
construct a FrameSet object from the root form of a verb This constructor reads an xml file from disk and always returns the same object from the same arguments. |
Method Summary | |
---|---|
static File |
getPath(String verb)
Find the file for the lexical guidelines for a verb. |
List |
getPredicates()
return a list of Predicate objects see |
String |
getVerb()
return the verb associated with this FrameSet |
static void |
main(String[] args)
a little unit test |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String verb
protected Document doc
protected List predicates
Predicate
Constructor Detail |
---|
public FrameSet(String v) throws CorruptDataException
CorruptDataException
Method Detail |
---|
public static File getPath(String verb)
verb
- the verb whose file needs finding.public List getPredicates()
Predicate
public String getVerb()
public static void main(String[] args) throws CorruptDataException
CorruptDataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |