Metadata-Version: 2.4
Name: Interlinears
Version: 0.3
Summary: Pretty-printing of linguistic interlinears
Author-email: kaleissin <kaleissin@gmail.com>
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-Expression: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Text Processing
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Project-URL: Issues, https://codeberg.org/Kaleissin/Interlinears/issues
Project-URL: Repository, https://codeberg.org/Kaleissin/Interlinears

============
Interlinears
============

Supports Python 3.9-3.13.

This package pretty-prints plaintext `linguistic interlinears`__,
currently only to HTML.

__ http://en.wikipedia.org/wiki/Interlinear_gloss

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`__.

__ http://www.eva.mpg.de/lingua/resources/glossing-rules.php

Usage
-----

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

