Package nltk :: Package corpus :: Package reader :: Module toolbox :: Class ToolboxCorpusReader
[hide private]
[frames] | no frames]

Class ToolboxCorpusReader

source code

      object --+    
               |    
api.CorpusReader --+
                   |
                  ToolboxCorpusReader

Instance Methods [hide private]
 
xml(self, files, key=None) source code
 
fields(self, files, strip=True, unwrap=True, encoding=None, errors='strict', unicode_fields=None) source code
 
raw(self, files) 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
 
dictionary(*args, **kwargs) source code
 
parse_corpus(*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]

dictionary(*args, **kwargs)

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

Deprecated: Use .xml() instead.

parse_corpus(*args, **kwargs)

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

Deprecated: Use .xml() instead.