inspect_discourse_ilg, number=None)[source]

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


path : str

Full path to text file

number : int, optional

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


list of AnnotationTypes

Autodetected AnnotationTypes for the text file