Python manipulation of interlinear glossed text
Project description
glossing
Simple utilities and models for handling interlinear glossed text (IGT) in Python. Useful for training models for IGT generation.
pip install glossing
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']
Development
# Build and submit to PyPi
pip install -e ".[dev]"
python -m build
python3 -m twine upload dist/*
rm -rf dist
# Run tests
python -m unittest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glossing-1.0.9.tar.gz
(7.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file glossing-1.0.9.tar.gz.
File metadata
- Download URL: glossing-1.0.9.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d20a7bf92298c60155d24de376dba20fdd371e87727f93feb946b967057efaa6
|
|
| MD5 |
f4e515bf573e9e35c03617f25c40b51c
|
|
| BLAKE2b-256 |
3f9fe44bfb20f1bb98860a848d4bc6932fd9827fcafe1f14be7105e80bf6cb41
|
File details
Details for the file glossing-1.0.9-py3-none-any.whl.
File metadata
- Download URL: glossing-1.0.9-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
104eb84044a2f956880fdb47f25cfc01e1a571539b0a1bbdc593f4686b41448c
|
|
| MD5 |
05baa40a83412365f77444d67dc53491
|
|
| BLAKE2b-256 |
c01bc03a7b50624e9f69a9f728aead8ea73a64127e8c164d333b53d0aeaf34ac
|