A Python library for converting HamNoSys codes to SiGML.
Project description
✨ Features
- Robust Tokenization: Handles individual hex codes, names, or contiguous raw unicode streams smoothly.
- Fast Dictionary Lookups: In-memory conversion map loaded once for rapid sequence mapping.
- Customizable Glosses: Easily append optional semantic word glosses to the SiGML output.
- Standardized XML: Formats and pretty-prints SiGML suitable for direct avatar rendering.
📦 Installation
Option 1: Install the library to use it
pip install hamnosys
Or install it directly from GitHub:
python -m pip install "git+https://github.com/24-mohamedyehia/hamnosys.git"
🚀 Basic Usage
from hamnosys import HamToSigml
converter = HamToSigml()
ham_code = ""
word = "again"
sigml_result = converter.convert(ham_code, gloss=word)
print(sigml_result)
🤝 Contributing
Contributing to this project is welcome! Please feel free to submit issues or pull requests on GitHub.
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
🙌 Acknowledgements
Special thanks to the Institute of German Sign Language and Communication of the Deaf (IDGS) at the University of Hamburg for developing and releasing the Hamburg Notation System (HamNoSys), which is the foundational phonetic transcription system for sign languages used in this toolkit.
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 hamnosys-0.1.0.tar.gz.
File metadata
- Download URL: hamnosys-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
340fcc584d3ec7000b1d00db17189c663a61e9e85225f9d382040201ee69a6f6
|
|
| MD5 |
5f4ff3650c41717f42bd22a29a3c47b8
|
|
| BLAKE2b-256 |
94dc7e48d28e1e455ba68105bca1681296e9ca65c3c4d4d6bb39aaacf3848c2e
|
File details
Details for the file hamnosys-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hamnosys-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24742e425721b62b40031f65ff5ae9f201a03691413af778bb12cce914c35326
|
|
| MD5 |
a7ed5f69996651dcaeacb92c9c6cb226
|
|
| BLAKE2b-256 |
06a70f6775a744e601ee760c3dcbed77e89e0de6442d5281a70e34ca994ed396
|