Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 548 Bytes

README.rst

File metadata and controls

20 lines (14 loc) · 548 Bytes

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``)