Package nltk :: Package corpus :: Package reader :: Module sinica_treebank :: Class SinicaTreebankCorpusReader
[hide private]
[frames] | no frames]

Class SinicaTreebankCorpusReader

source code

         object --+        
                  |        
   api.CorpusReader --+    
                      |    
util.SyntaxCorpusReader --+
                          |
                         SinicaTreebankCorpusReader

Reader for the sinica treebank.

Instance Methods [hide private]
 
_read_block(self, stream) source code
 
_parse(self, sent) source code
 
_tag(self, sent, simplify_tags=None) source code
 
_word(self, sent) source code

Inherited from util.SyntaxCorpusReader: parsed_sents, raw, sents, tagged_sents, tagged_words, words

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__

    Block Readers
    Deprecated since 0.8

Inherited from util.SyntaxCorpusReader: parsed, read, tagged, tokenized

    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_block(self, stream)

source code 
Overrides: util.SyntaxCorpusReader._read_block

_parse(self, sent)

source code 
Overrides: util.SyntaxCorpusReader._parse

_tag(self, sent, simplify_tags=None)

source code 
Overrides: util.SyntaxCorpusReader._tag

_word(self, sent)

source code 
Overrides: util.SyntaxCorpusReader._word