The first complete Tigrigna (ትግርኛ) NLP toolkit
Project description
tigrigna-nlp
The first and best Tigrigna (ትግርኛ) NLP toolkit in the world
Production-ready • 100% offline • Perfect Ge’ez support
Why this is the BEST Tigrigna tokenizer ever made
| Problem in other tokenizers | tigrigna-nlp solution |
|---|---|
| Merges words (ሰላምዓለም) | Never merges — always separate |
| Breaks Ge’ez punctuation | Perfect spacing around ፡ ። ፣ ፤ ፥ ፧ ፨ |
Shows <unk>, </s>, ▁ junk |
100% clean, human-readable output |
| Requires internet/GPU/server | 100% offline — 2 MB file only |
| Not trained on real Tigrigna | Built on Meta’s NLLB-200 (trained on real Tigrigna) |
Features
-
tokenize(text) → Clean list of tokens
-
normalize(text) → Standardizes variants (ሃ→ሀ, ሠ→ሰ, etc.)
-
get_tokenizer() → Raw Hugging Face tokenizer (advanced users)
-
Works on Windows, macOS, Linux, Android, Raspberry Pi
-
Zero internet required after installation
Quick Start
pip install tigrigna-nlp
from tigrigna_nlp import tokenize, normalize
text = "እግዚአብሔር ይደልዎም።"
tokens = tokenize(normalize(text))
print(tokens) => ['እግዚአብሔር', 'ይደልዎም', '።']
Use Cases
- Training Tigrigna BERT / LLaMA / mT5
- English ↔ Tigrigna machine translation
- Named Entity Recognition (NER)
- Speech-to-text preprocessing
- Sentiment analysis & text classification
- Tigrigna search engines
Citation
@software{tigrigna-nlp-2025, author = {Haile}, title = {tigrigna-nlp: The First Complete Tigrigna NLP Toolkit}, year = 2025, publisher = {PyPI}, version = {0.1.0}, url = {https://github.com/haile21/tigrigna-nlp} }
Author
Haile, Senior Software Developer
- Email: hailishmit@gmail.com
- GitHub: @haile21
Join the Movement
Help us build the future of Tigrigna AI:
- First Tigrigna BERT
- First Tigrigna LLaMA
- Speech recognition & TTS
- Translation engine
- NER & POS datasets
GitHub: https://github.com/haile21/tigrigna-nlp
PyPI: https://pypi.org/project/tigrigna-nlp
Hugging Face: https://huggingface.co/tigrigna-nlp
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 tigrigna_nlp-0.1.0.tar.gz.
File metadata
- Download URL: tigrigna_nlp-0.1.0.tar.gz
- Upload date:
- Size: 5.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7baf69dfbdd0e3ecfb751c35a78823685ce38f6924e00e9a17d2086275fd6e06
|
|
| MD5 |
792eca76d6e6053209472af46369da08
|
|
| BLAKE2b-256 |
8296d3c059d81a0cf05f7af9a72405b37beb7595803be6306e01f26ca8427643
|
File details
Details for the file tigrigna_nlp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tigrigna_nlp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89bb96a90e2bce2a343152b41c989cd06d702fe05b24322d3383e02d9229092b
|
|
| MD5 |
c89166990e5200cc5feaeaa73469a0ca
|
|
| BLAKE2b-256 |
1f6619aa75c8e916113cf3fde2424bfb007afc8d7496f3d15dd5d372b7762980
|