Metadata-Version: 2.4
Name: kabyle-text-cleaner
Version: 0.1.0
Summary: Fix non-standard characters and optionally reflow Kabyle text
Project-URL: Homepage, https://github.com/Imsidag/kabyle-text-cleaner
Project-URL: Repository, https://github.com/Imsidag/kabyle-text-cleaner
Project-URL: Issues, https://github.com/Imsidag/kabyle-text-cleaner/issues
Author-email: Athmane MOKRAOUI <butterglyoffire+py@protonmail.com>
License: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.8
Provides-Extra: toml
Requires-Dist: tomli>=1.2.0; (python_version < '3.11') and extra == 'toml'
Description-Content-Type: text/markdown

# 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

```bash
pip install kabyle-text-cleaner
```

## CLI usage
```bash

# only check
kabtxtcleaner text.txt
```

# fix + reflow
```bash
kabtxtcleaner text.txt --fix -o clean.txt
```

```bash
kabtxtcleaner text.txt --fix --reflow -o clean.txt
```

## Library usage
```Python

from kabyle_cleaner import fix_text, reflow_paragraphs

clean = fix_text("γğţţ")
print(clean)            # ɣǧṭṭ
```

## License

MIT License
Copyright (c) 2025 Athmane MOKRAOUI