Metadata-Version: 2.4
Name: glossing
Version: 1.0.2
Summary: Python manipulation of interlinear glossed text
Project-URL: Homepage, https://github.com/michaelpginn/igt
Project-URL: Issues, https://github.com/michaelpginn/igt/issues
Author-email: Michael Ginn <michael.ginn@colorado.edu>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Provides-Extra: dev
Requires-Dist: build; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Description-Content-Type: text/markdown

# `glossing`

Simple utilities and models for handling interlinear glossed text (IGT) in Python. Useful for training models for IGT generation.

```shell
pip install glossing
```

```python
from glossing import IGT

example = IGT(transcription='los gatos corren',
              translation='the cats run',
              glosses='DET.PL cat-PL run-3PL')

print(example.gloss_list)
# ['DET.PL', '[SEP]', 'cat', 'PL', '[SEP]', 'run', '3PL']
```

## Building

```shell
> pip install -e ".[dev]"
> python -m build
> python3 -m twine upload dist/*
> rm -rf dist
```
