LingPy

lingpy.output.plot.alm2html

lingpy.output.plot.alm2html(infile, title=None, shorttitle=None)

Convert files in alm-format into colored html-format.

Parameters :

title : str

Define the title of the output file. If no title is provided, the default title LexStat - Automatic Cognate Judgments will be used.

shorttitle : str

Define the shorttitle of the html-page. If no title is provided, the default title LexStat will be used.

Notes

The coloring of sound segments with respect to the sound class they belong to is based on the definitions given in the color Model. It can easily be changed and adapted.