edu.upenn.cis.propbank_shen
Class InflVoice

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

public final class InflVoice
extends Object

This class represents the voice part of the inflection of a verb. A voice is either active or passive or "NoVoice" in the case that it just hasn't been specified or doesn't make sense, such as when the form is infinitival.

Author:
Scott Cotton
See Also:
Inflection

Field Summary
static InflVoice Active
          the active inflection
static InflVoice NoVoice
          none specified
static InflVoice Passive
          the passive inflection
 
Method Summary
static InflVoice ofString(String s)
          convert a string to a InflVoice instance
 String toString()
          convert the voide to a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Active

public static final InflVoice Active
the active inflection


Passive

public static final InflVoice Passive
the passive inflection


NoVoice

public static final InflVoice NoVoice
none specified

Method Detail

toString

public String toString()
convert the voide to a string

Overrides:
toString in class Object

ofString

public static InflVoice ofString(String s)
convert a string to a InflVoice instance