Kiswahili text normalization utilities for speech datasets (ASR/TTS)
# kiswahili-text-normalizer
Kiswahili text normalization utilities for speech datasets (ASR/TTS).
Features:
- Numbers to words (`0` .. ` >> from kiswahili_text_normalizer import normalize_text
>>> text = "Tutakutane 20/11/2025 14:30, malipo ni 12.5%."
>>> print(normalize_text(text, profile="asr"))
tutakutane tarehe ishirini mwezi wa kumi na moja mwaka elfu mbili ishirini na tano saa nane na nusu malipo ni asilimia kumi na mbili nukta tano
```
## Tests
```bash
pip install pytest
pytest
```
## Troubleshooting
Should you encounter ```ModuleNotFoundError: No module named 'src'``` when running ```pytest```, this might help
```bash
set -a
source .env
```
The run ```pytest``` from your terminal