inspect_discourse_spelling

corpustools.corpus.io.text_spelling.inspect_discourse_spelling(path, support_corpus_path=None)[source]

Generate a list of AnnotationTypes for a specified text file for parsing it as an orthographic text

Parameters
pathstr

Full path to text file

support_corpus_pathstr, optional

Full path to a corpus to look up transcriptions from spellings in the text

Returns
list of AnnotationTypes

Autodetected AnnotationTypes for the text file