Package nltk :: Package wordnet :: Module lexname :: Class Lexname
[hide private]
[frames] | no frames]

Class Lexname

source code

object --+
         |
        Lexname

Instance Methods [hide private]
 
__init__(self, name, category)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
str(x)
source code

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

Class Variables [hide private]
  dict = {'adj.all': adj.all, 'adj.pert': adj.pert, 'adj.ppl': a...
  lexnames = [adj.all, adj.pert, adv.all, noun.Tops, noun.act, n...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, category)
(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 

str(x)

Overrides: object.__repr__
(inherited documentation)

Class Variable Details [hide private]

dict

Value:
{'adj.all': adj.all,
 'adj.pert': adj.pert,
 'adj.ppl': adj.ppl,
 'adv.all': adv.all,
 'noun.Tops': noun.Tops,
 'noun.act': noun.act,
 'noun.animal': noun.animal,
 'noun.artifcact': noun.artifcact,
...

lexnames

Value:
[adj.all,
 adj.pert,
 adv.all,
 noun.Tops,
 noun.act,
 noun.animal,
 noun.artifcact,
 noun.attribute,
...