edu.upenn.cis.propbank_shen
Class InflForm

java.lang.Object
  extended by 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

Field Summary
static InflForm Full
           
static InflForm Gerund
           
static InflForm Infinitive
           
static InflForm NoForm
           
static InflForm Participle
           
 
Method Summary
static InflForm ofString(String s)
          return the "form" inflectional information from a string.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Method Detail

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