inspect_discourse_ilg

corpustools.corpus.io.text_ilg.inspect_discourse_ilg(path, number=None)[source]

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

Parameters:
path : str

Full path to text file

number : int, optional

Number of lines per gloss, if not supplied, it is auto-detected

Returns:
list of AnnotationTypes

Autodetected AnnotationTypes for the text file