Package nltk :: Package corpus :: Package reader :: Module propbank :: Class PropbankInflection
[hide private]
[frames] | no frames]

type PropbankInflection

source code

object --+
         |
        PropbankInflection

Instance Methods [hide private]
 
__init__(self, form='-', tense='-', aspect='-', person='-', voice='-') source code
 
__str__(self) source code
 
__repr__(self) source code
Static Methods [hide private]
 
parse(s) source code
Class Variables [hide private]
  _VALIDATE = re.compile(r'[igpv-][fpn-][pob-][3-][ap-]$')
    Inflection Form
  INFINITIVE = 'i'
  GERUND = 'g'
  PARTICIPLE = 'p'
  FINITE = 'v'
    Inflection Tense
  FUTURE = 'f'
  PAST = 'p'
  PRESENT = 'n'
    Inflection Aspect
  PERFECT = 'p'
  PROGRESSIVE = 'o'
  PERFECT_AND_PROGRESSIVE = 'b'
    Inflection Person
  THIRD_PERSON = '3'
    Inflection Voice
  ACTIVE = 'a'
  PASSIVE = 'p'
    Inflection
  NONE = '-'
Method Details [hide private]

__init__(self, form='-', tense='-', aspect='-', person='-', voice='-')
(Constructor)

source code 
Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)