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
pathstr

Full path to text file

numberint, optional

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

Returns
IlgParser

Autodetected parser for the text file