edu.upenn.cis.propbank_shen
Class InflPerson

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

public final class InflPerson
extends Object

The "person" part of the inflectional information for a predicate argument structure. We mark the person as "3rd" person in the case that the 3rd person marker is present morphologically (Such as "goes"). Otherwise, the argument structure is marked with "NoPerson".

Author:
Scott Cotton
See Also:
Inflection

Field Summary
static InflPerson NoPerson
          no inflection noted
static InflPerson Third
          the third person inflection
 
Method Summary
static InflPerson ofString(String s)
          return the person inflectional information from a string.
 String toString()
          create a string representation of the person inflectional info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Third

public static final InflPerson Third
the third person inflection


NoPerson

public static final InflPerson NoPerson
no inflection noted

Method Detail

toString

public String toString()
create a string representation of the person inflectional info.

Overrides:
toString in class Object

ofString

public static InflPerson ofString(String s)
return the person inflectional information from a string. If the string doesn't make sense, print an error and return the default "NoPerson".

Returns:
an InflPerson instance