Interlinears

Pretty-printing of linguistic interlinears


License
Other
Install
pip install Interlinears==0.2

Documentation

Interlinears

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.

Usage

interlinears.make_html_interlinear(raw_interlinear, format='monospace', escape=``some_func``)