Package nltk :: Package corpus :: Package reader :: Module indian :: Class IndianCorpusReader
[hide private]
[frames] | no frames]

Class IndianCorpusReader

source code

      object --+    
               |    
api.CorpusReader --+
                   |
                  IndianCorpusReader

List of words, one per line. Blank lines are ignored.

Instance Methods [hide private]
 
words(self, files=None) source code
 
tagged_words(self, files=None, simplify_tags=False) source code
 
sents(self, files=None) source code
 
tagged_sents(self, files=None, simplify_tags=False) source code
 
raw(self, files=None) 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
 
tokenized(*args, **kwargs) source code
 
tagged(*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]

read(*args, **kwargs)

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

Deprecated: Use .raw() or .words() or .tagged_words() instead.

tokenized(*args, **kwargs)

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

Deprecated: Use .words() instead.

tagged(*args, **kwargs)

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

Deprecated: Use .tagged_words() instead.