edu.upenn.cis.propbank_shen
Class Inflection

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

public class Inflection
extends Object

This class represents inflectional information as is found in the english propbank. Basically, inflectional information is stuff like "third person plural singular", but we only represent a portion of this information for a few reasons: first, some of it is already in the part of speech tags in the penn treebank, and second, only some of this information is really relevant to the primary aim of this study -- to find out more about the relationship between syntax and semantics (as it appears in a million words of wall street journal from the hot 90's...).

Anyway, we keep inflectional information in 5 slots:

  1. Form
  2. Tense
  3. Aspect
  4. Person
  5. Voice

Author:
Scott Cotton
See Also:
InflForm, InflTense, InflAspect, InflPerson, InflVoice

Field Summary
 InflAspect aspect
           
 InflForm form
           
 InflPerson person
           
 InflTense tense
           
 InflVoice voice
           
 
Constructor Summary
Inflection(InflForm f, InflTense it, InflAspect ia, InflPerson ip, InflVoice iv)
           
Inflection(String s)
          construct an inflection instance from a string of the form FORM .
 
Method Summary
 String toString()
          construct a canonical string representing the inflectional information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

form

public InflForm form

tense

public InflTense tense

aspect

public InflAspect aspect

person

public InflPerson person

voice

public InflVoice voice
Constructor Detail

Inflection

public Inflection(InflForm f,
                  InflTense it,
                  InflAspect ia,
                  InflPerson ip,
                  InflVoice iv)

Inflection

public Inflection(String s)
           throws CorruptDataException
construct an inflection instance from a string of the form FORM . TENSE . ASPECT . PERSON . VOICE (one character for each slot, the dots denote concatenation and aren't to be taken literally).

Throws:
CorruptDataException
Method Detail

toString

public String toString()
construct a canonical string representing the inflectional information.

Overrides:
toString in class Object