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