SpontaneousSpeechCorpus

class corpustools.corpus.classes.spontaneous.SpontaneousSpeechCorpus(name, directory)[source]

SpontaneousSpeechCorpus objects a collection of Discourse objects and Corpus objects for frequency information.

Parameters
namestr

Name to identify the SpontaneousSpeechCorpus

directorystr

Directory associated with the SpontaneousSpeechCorpus

Attributes
lexiconCorpus

Corpus object with token frequencies from its Discourses

discoursesdict

Discourses of the SpontaneousSpeechCorpus indexed by the names of the Discourses

Methods

__init__(name, directory)

add_discourse(discourse)

Add a discourse to the SpontaneousSpeechCorpus