inspect_ilg

polyglotdb.io.inspect.ilg.inspect_ilg(path, number=None)[source]

Generate an IlgParser 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:
IlgParser

Autodetected parser for the text file