✨ 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.
Metadata
Release files for hamnosys 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hamnosys-0.1.0.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hamnosys-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / hamnosys-0.1.0.tar.gz
| Download URL | hamnosys-0.1.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
340fcc584d3ec7000b1d00db17189c663a61e9e85225f9d382040201ee69a6f6
|
|
BLAKE2b-256 checksum How to use checksums |
94dc7e48d28e1e455ba68105bca1681296e9ca65c3c4d4d6bb39aaacf3848c2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / hamnosys-0.1.0-py3-none-any.whl
| Download URL | hamnosys-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24742e425721b62b40031f65ff5ae9f201a03691413af778bb12cce914c35326
|
|
BLAKE2b-256 checksum How to use checksums |
06a70f6775a744e601ee760c3dcbed77e89e0de6442d5281a70e34ca994ed396
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|