edu.upenn.cis.propbank_shen
Class InflForm
java.lang.Object
edu.upenn.cis.propbank_shen.InflForm
public final class InflForm
- extends Object
This represents the overall "form" of the inflection. We note
whether each instance is an Infinitive, a gerund, a participle,
or in regular (finite, full) form.
Sometimes, no form is specified because this annotation isn't
very complete, so we have NoForm as well.
- Author:
- Scott Cotton
- See Also:
Inflection
Infinitive
public static final InflForm Infinitive
Gerund
public static final InflForm Gerund
Participle
public static final InflForm Participle
Full
public static final InflForm Full
NoForm
public static final InflForm NoForm
toString
public String toString()
- Overrides:
toString
in class Object
ofString
public static InflForm ofString(String s)
- return the "form" inflectional information from a string.
If the string doesn't make sense, print an error and
return the default "NoForm".
- Returns:
- an InflForm instance