A corpus reader for tagged sentences that are included in the TIMIT
corpus.
|
|
__init__(self,
*args,
**kwargs)
Construct a new Tagged Corpus reader for a set of documents located
at the given root directory. |
source code
|
|
list of (list of (list of
str))
|
paras(self)
Returns:
the given file(s) as a list of paragraphs, each encoded as a list of
sentences, which are in turn encoded as lists of word strings. |
source code
|
|
list of (list of (list of
(str,str)))
|
tagged_paras(self)
Returns:
the given file(s) as a list of paragraphs, each encoded as a list of
sentences, which are in turn encoded as lists of
(word,tag) tuples. |
source code
|
|
|
Inherited from TaggedCorpusReader:
raw,
sents,
tagged_sents,
tagged_words,
words
Inherited from api.CorpusReader:
__repr__,
abspath,
abspaths,
encoding,
fileids,
open,
readme
|
|
Inherited from api.CorpusReader:
files
|
|
Inherited from api.CorpusReader:
items
|