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

type SinicaTreebankCorpusReader

source code

        object --+        
                 |        
  api.CorpusReader --+    
                     |    
api.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 api.SyntaxCorpusReader: parsed_sents, raw, sents, tagged_sents, tagged_words, words

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

Inherited from api.CorpusReader (private): _get_root

    Block Readers
    Deprecated since 0.8

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

    Deprecated since 0.9.7

Inherited from api.CorpusReader: files

    Deprecated since 0.9.1

Inherited from api.CorpusReader: items

Inherited from api.CorpusReader (private): _get_items

Instance Variables [hide private]

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

Properties [hide private]

Inherited from api.CorpusReader: root

Method Details [hide private]

_read_block(self, stream)

source code 
Overrides: api.SyntaxCorpusReader._read_block

_parse(self, sent)

source code 
Overrides: api.SyntaxCorpusReader._parse

_tag(self, sent, simplify_tags=None)

source code 
Overrides: api.SyntaxCorpusReader._tag

_word(self, sent)

source code 
Overrides: api.SyntaxCorpusReader._word