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

Class PropbankInflection

source code

object --+
         |
        PropbankInflection

Instance Methods [hide private]
 
__init__(self, form='-', tense='-', aspect='-', person='-', voice='-')
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

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 = '-'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)