load_discourse_transcription¶
- corpustools.corpus.io.text_transcription.load_discourse_transcription(corpus_name, path, annotation_types=None, lexicon=None, feature_system_path=None, stop_check=None, call_back=None)[source]¶
Load a discourse from a text file containing running transcribed text
- Parameters
- corpus_namestr
Informative identifier to refer to corpus
- pathstr
Full path to text file
- annotation_typeslist of AnnotationType, optional
List of AnnotationType specifying how to parse text files
- lexiconCorpus, optional
Corpus to store Discourse word information
- feature_system_pathstr, optional
Full path to pickled FeatureMatrix to use with the Corpus
- stop_checkcallable, optional
Optional function to check whether to gracefully terminate early
- call_backcallable, optional
Optional function to supply progress information during the loading
- Returns
- Discourse
Discourse object generated from the text file