Metadata-Version: 2.4
Name: swaach-text
Version: 0.1.0
Summary: Hinglish + social text normalization (emoji→text, diacritics removal, hashtag splitting)
Author-email: Sanjay Kumar <you@example.com>
License: MIT
License-File: LICENSE
Keywords: cleaning,diacritics,emoji,hashtags,hinglish,nlp,normalization,text
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# swaach-text

A small, dependency-light toolkit for **Hinglish + social text cleaning**:
- Emoji → text tags (e.g., `😂 → [laughing]`)
- Accent/diacritics removal (`café → cafe`)
- Hashtag splitter (`#ThisIsGreat → This Is Great`)
- Hinglish shorthand expansion + filler removal
- Optional PII redaction

## Install
```bash
pip install swaach-text
```

## Quick use
```python
from swaach_text import normalize, Cleaner

print(normalize("Plz yaar tmrw call me 😂 at café #ThisIsGreat!!!"))
# -> "please tomorrow call me [laughing] at cafe This Is Great!"
```

### CLI
```bash
swaach-text "Plz tmrw call me 😂 at café #ThisIsGreat"
# please tomorrow call me [laughing] at cafe This Is Great
```

## Notes
- This is a starter library; extend `rules.py` with more shorthand/emoji.
- For issues/PRs, please include examples + tests.
