| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Word
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Extract a word from a line of a WordNet POS file.
|
Get a sequence of the synsetss of this word. >>> from nltk.wordnet import * >>> N['dog'].synsets() [{noun: dog, domestic dog, Canis familiaris}, {noun: frump, dog}, {noun: dog}, {noun: cad, bounder, blackguard, dog, hound, heel}, {noun: frank, frankfurter, hotdog, hot dog, dog, wiener, wienerwurst, weenie}, {noun: pawl, detent, click, dog}, {noun: andiron, firedog, dog, dog-iron}] |
>>> from nltk.wordnet import * >>> N['dog'].isTagged() True
|
repr(x)
|
str(x)
|
hash(x)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:59 2008 | http://epydoc.sourceforge.net |