Package nltk :: Package corpus :: Package reader :: Module conll :: Class ConllChunkCorpusReader
[hide private]
[frames] | no frames]

Class ConllChunkCorpusReader

source code

      object --+        
               |        
api.CorpusReader --+    
                   |    
   ConllCorpusReader --+
                       |
                      ConllChunkCorpusReader

A ConllCorpusReader whose data file contains three columns: words, pos, and chunk.

Instance Methods [hide private]
 
__init__(self, root, files, chunk_types, encoding=None) source code

Inherited from ConllCorpusReader: chunked_sents, chunked_words, iob_sents, iob_words, parsed_sents, raw, sents, srl_instances, srl_spans, tagged_sents, tagged_words, words

Inherited from api.CorpusReader: __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

Inherited from ConllCorpusReader: chunked, read, tagged, tokenized

    Deprecated since 0.9.1

Inherited from api.CorpusReader: filenames

Inherited from api.CorpusReader (private): _get_items

Static Methods [hide private]

Inherited from ConllCorpusReader (private): _get_column

Class Variables [hide private]

Inherited from ConllCorpusReader: CHUNK, COLUMN_TYPES, IGNORE, NE, POS, SRL, TREE, WORDS

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]

__init__(self, root, files, chunk_types, encoding=None)
(Constructor)

source code 
Overrides: ConllCorpusReader.__init__