Package nltk :: Package corpus :: Package reader :: Module senseval :: Class SensevalCorpusReader
[hide private]
[frames] | no frames]

Class SensevalCorpusReader

source code

      object --+    
               |    
api.CorpusReader --+
                   |
                  SensevalCorpusReader

Instance Methods [hide private]
 
instances(self, files=None) source code
 
raw(self, files=None)
Returns: the text contents of the given files, as a single string.
source code
 
_entry(self, tree) source code

Inherited from api.CorpusReader: __init__, __repr__, abspath, abspaths, encoding, files, open

Inherited from api.CorpusReader (private): _get_root

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

    Deprecated since 0.8
 
read(*args, **kwargs) source code
 
listed(*args, **kwargs) source code
    Deprecated since 0.9.1

Inherited from api.CorpusReader: filenames

Inherited from api.CorpusReader (private): _get_items

Instance Variables [hide private]

Inherited from api.CorpusReader (private): _encoding, _files, _root

Properties [hide private]

Inherited from api.CorpusReader: root

Inherited from object: __class__

    Deprecated since 0.9.1

Inherited from api.CorpusReader: items

Method Details [hide private]

raw(self, files=None)

source code 
Returns:
the text contents of the given files, as a single string.

read(*args, **kwargs)

source code 
Decorators:
  • @deprecated("Use .instances() or .raw() instead.")

Deprecated: Use .instances() or .raw() instead.

listed(*args, **kwargs)

source code 
Decorators:
  • @deprecated("Use .instances() instead.")

Deprecated: Use .instances() instead.