edu.upenn.cis.propbank_shen
Class InflTense

java.lang.Object
  extended by edu.upenn.cis.propbank_shen.InflTense

public final class InflTense
extends Object

We represent the future, past, and present tenses with the propbank inflectional information.

Sometimes, no tense is specified because this annotation isn't very complete, so we have NoTense as well.

Author:
Scott Cotton
See Also:
Inflection

Field Summary
static InflTense Future
          the future tense
static InflTense NoTense
          no tense specified
static InflTense Past
          the past tense
static InflTense Present
          the present tense
 
Method Summary
static InflTense ofString(String s)
          return an InflTense instance from a canonical string.
 String toString()
          create a canonical string representation of the InflTense instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Future

public static final InflTense Future
the future tense


Past

public static final InflTense Past
the past tense


Present

public static final InflTense Present
the present tense


NoTense

public static final InflTense NoTense
no tense specified

Method Detail

toString

public String toString()
create a canonical string representation of the InflTense instance

Overrides:
toString in class Object

ofString

public static InflTense ofString(String s)
return an InflTense instance from a canonical string. print an error on stderr if the string doesn't make sense, and use the default "NoTense" in that case"