SpontaneousSpeechCorpus¶
-
class
corpustools.corpus.classes.spontaneous.
SpontaneousSpeechCorpus
(name, directory)[source]¶ SpontaneousSpeechCorpus objects a collection of Discourse objects and Corpus objects for frequency information.
Parameters: name : str
Name to identify the SpontaneousSpeechCorpus
directory : str
Directory associated with the SpontaneousSpeechCorpus
Attributes
lexicon (Corpus) Corpus object with token frequencies from its Discourses discourses (dict) Discourses of the SpontaneousSpeechCorpus indexed by the names of the Discourses Methods
__init__
(name, directory)add_discourse
(discourse)Add a discourse to the SpontaneousSpeechCorpus