Fast converter between Inuktitut Unicode syllabics and Latin script
Project description
qaniujaaqpait
qaniujaaqpait is a converter between Inuktitut romanized transcription and Unified Canadian Aboriginal Syllabics (UCAS).
It provides easy-to-use functions for both directions of conversion.
🧩 Features
- Convert romanized Inuktitut to syllabics (UCAS Unicode)
- Convert syllabics to romanized Inuktitut
- Based on ICI standard Qaniujaaqpait mapping
- Handles edge cases such as
qqi,nngii, andlh/&
🔧 Installation
pip install qaniujaaqpait
If installing from source:
git clone https://github.com/ColemanHaley/qaniujaaqpait.git
cd qaniujaaqpait
pip install .
🧪 Usage
from qaniujaaqpait import syllabify, romanize
text = "Qaniujaaqpait"
syllabics = syllabify(text)
print("Syllabics:", syllabics) # ᖃᓂᐅᔮᖅᐸᐃᑦ
back = romanize(syllabics)
print("Back to roman:", back) # qaniujaaqpait
📦 API
syllabify(text: str) -> str
Converts romanized Inuktitut text into Unicode syllabics.
romanize(text: str) -> str
Converts syllabic Unicode text into romanized Inuktitut.
🗂️ Structure
converter.py: Core module with conversion logic.
setup.py: build script.
tests/: Unit tests.
📝 License
MIT License
🧑💻 Author
Maintained by Coleman Haley. Contributions welcome via GitHub pull requests!
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
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 qaniujaaqpait-0.1.1.tar.gz.
File metadata
- Download URL: qaniujaaqpait-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18f494ecf363b62e0c05e17ae2c83c1b4c9424f9290929ed4ddc45a1a63ad354
|
|
| MD5 |
bd2b12d8acf44bb3382f63fb9f0d9fb5
|
|
| BLAKE2b-256 |
d96b61156611b1cd867c334d632298d2a6ef96f1e3b17b00b5faea46b8dde130
|
File details
Details for the file qaniujaaqpait-0.1.1-py3-none-any.whl.
File metadata
- Download URL: qaniujaaqpait-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
350db1f25eaccef61a47211e216b5e59ec05ac2c1d86ef5a4cec2a03cb8719df
|
|
| MD5 |
88b67e16bbaa03d6d78c0625725f690c
|
|
| BLAKE2b-256 |
9090336fed7c985f6a482e2ef381566a2671739cde14bac513341992603ef87e
|