An abstract base class for reading corpora consisting of syntactically
parsed text. Subclasses should define:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| tagged_sents(self,
files=None,
simplify_tags=False) |
source code
|
|
|
|
|
|
|
| tagged_words(self,
files=None,
simplify_tags=False) |
source code
|
|
|
|
|
|
Inherited from api.CorpusReader:
__init__,
__repr__,
abspath,
abspaths,
encoding,
files,
open
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|
|
|
|
|
|
| _read_tagged_word_block(self,
stream,
simplify_tags=False) |
source code
|
|
|
|
|
|
|
| _read_tagged_sent_block(self,
stream,
simplify_tags=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from api.CorpusReader:
filenames
|