Fix non-standard characters and optionally reflow Kabyle text
Project description
kabyle text cleaner
Command-line utility and Python library to normalise Kabyle text (non-standard Greek/Latin look-alikes → proper Latin-derived letters) and optionally reflow paragraphs.
Installation
pip install kabyle-text-cleaner
CLI usage
# only check
kabtxtcleaner text.txt
fix + reflow
kabtxtcleaner text.txt --fix -o clean.txt
kabtxtcleaner text.txt --fix --reflow -o clean.txt
Library usage
from kabyle_cleaner import fix_text, reflow_paragraphs
clean = fix_text("γğţţ")
print(clean) # ɣǧṭṭ
License
MIT License Copyright (c) 2025 Athmane MOKRAOUI
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 kabyle_text_cleaner-0.1.0.tar.gz.
File metadata
- Download URL: kabyle_text_cleaner-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
417b4afe02c75dbf8623a06eb5b9e20f35425470176b7cffab398d005f82fe61
|
|
| MD5 |
b85e74e4406da4fa53855d1c5cb92342
|
|
| BLAKE2b-256 |
05171d93dacea7e1a12b8794a026a6a4719853fc4f97843627f6c72f74154612
|
File details
Details for the file kabyle_text_cleaner-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kabyle_text_cleaner-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.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e869c1a938a298a8e5487d96d16ec93905ed485172972909322f44893c639caf
|
|
| MD5 |
b668013865a2603d703302ea163fcb36
|
|
| BLAKE2b-256 |
012128f43bcc110a7e34e4f60169cf0ac10cc09c00ea59915c035f41e5253c32
|