Metadata-Version: 2.4
Name: uzhond
Version: 0.1.0
Summary: A library for processing Uzbek text, including conversion, cleaning, and analysis.
Home-page: https://github.com/halloweenhonex-art/uzhond
Author: HONEX
Author-email: halloweenhonex@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-python
Dynamic: summary

# Uzhond

Uzhond is a Python library for processing Uzbek text. It provides functionalities for text conversion, cleaning, stop word management, and text analysis, making it a useful tool for both beginners and advanced users.

## Features

- Convert between Cyrillic and Latin scripts
- Clean text by removing special characters and extra spaces
- Manage Uzbek stop words
- Analyze text for word and sentence counts

## Installation

```bash
pip install uzhond
```

## Usage

```python
from uzhond.converter import to_latin, to_cyrillic
from uzhond.cleaner import remove_special_chars, remove_emojis, normalize_spaces
from uzhond.stopwords import remove_stopwords
from uzhond.analyzer import count_words, count_sentences

text = "Салом дунё! 😊  Узбек тилидаги матн."

# Конвертация
latin_text = to_latin(text)
cyrillic_text = to_cyrillic(latin_text)

# Очистка
cleaned = remove_special_chars(text)
no_emoji = remove_emojis(cleaned)
normalized = normalize_spaces(no_emoji)

# Работа со стоп-словами
filtered = remove_stopwords(normalized)

# Анализ
words = count_words(filtered)
sentences = count_sentences(filtered)

print(f"Слов: {words}, Предложений: {sentences}")
```

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## License

This project is licensed under the MIT License.
