edu.upenn.cis.propbank_shen
Class Inflection
java.lang.Object
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:
- Form
- Tense
- Aspect
- Person
- Voice
- Author:
- Scott Cotton
- See Also:
InflForm
,
InflTense
,
InflAspect
,
InflPerson
,
InflVoice
Method Summary |
String |
toString()
construct a canonical string representing the inflectional information. |
form
public InflForm form
tense
public InflTense tense
aspect
public InflAspect aspect
person
public InflPerson person
voice
public InflVoice voice
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
toString
public String toString()
- construct a canonical string representing the inflectional information.
- Overrides:
toString
in class Object