|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CorruptDataException | |
---|---|
edu.upenn.cis.propbank_shen | Provides an API to the Propbank, modified for the version
included in Libin Shen's LTAG treebank in the file prop-all.idx . |
Uses of CorruptDataException in edu.upenn.cis.propbank_shen |
---|
Methods in edu.upenn.cis.propbank_shen that throw CorruptDataException | |
---|---|
RoleSet |
Annotation.getRoleSet()
Return the RoleSet of the annotation, if disambiguated, otherwise return null . |
static int |
ArgLoc.locTypeOfstring(String s)
create a loc_type from a canoncial string or throw CorruptDataException if this is an invalid string |
static void |
FrameSet.main(String[] args)
a little unit test |
static void |
RoleSet.main(String[] args)
A simple unit test |
static RoleSet |
RoleSet.ofId(String id)
create a RoleSet object from the id, where the id is in the form <verb>.NN, such as "go.01". |
static ArgLabel |
ArgLabel.ofString(String s)
create an argument from a string of the form "Arg |
static ArgLoc |
ArgLoc.ofString(String s)
convert a string to an ArgLoc if possible, otherwise throw CorruptDataException. |
static Argument |
Argument.ofString(String s)
convert a string into an "argument". |
static PASLoc |
PASLoc.ofString(String s)
given a canonical string representing a location of a predicate, return a corresponding PASLoc object. |
static PAStruct |
PAStruct.ofString(String s)
create a predicate argument structure from a canonical string |
static WordSpan |
WordSpan.ofString(String s)
Creates a WordSpan instance from a string of the form |
Constructors in edu.upenn.cis.propbank_shen that throw CorruptDataException | |
---|---|
Annotation(String ln)
construct an Annotation from a line of text. |
|
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. |
|
Inflection(String s)
construct an inflection instance from a string of the form FORM . |
|
Predicate(Node n)
construct a Predicate object from a predicate node in a frameset xml document |
|
Role(Node n)
construct a Role object from a role node in a frameset xml document. |
|
RoleSet(Node n)
construct a RoleSet object from a roleset node in a frameset xml document. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |