This package pretty-prints plaintext linguistic interlinears, currently only to HTML.
- It supports two formats:
monospace
, where What You See Is What You Get, though where HTML can be escaped or stripped away.leipzig
, as by the Leipzig Glossing Rules.
interlinears.make_html_interlinear(raw_interlinear, format='monospace', escape=``some_func``)