No project description provided
Project description
Persian Text Normalizer (Hazm Fork)
This project is a lightweight fork of the Hazm library, focusing solely on the Normalizer class to normalize Persian text. It is designed for easy installation with minimal dependencies, avoiding the issues of deprecated packages and version mismatches.
Features:
- Normalizes Persian text by removing unnecessary characters and correcting common text issues.
- No external dependencies or conflicting libraries, making it a lightweight option for Persian text processing.
Example Usage:
from hazm_normalizer import Normalizer
# Initialize the Normalizer class
normalizer = Normalizer()
# Persian text to normalize
text = """
اصلاح نويسهها و استفاده از نیمفاصله پردازش را آسان میکند و حروف عربي استفاده شده غلط مانند کُ و ي را حذف میکند.
"""
# Normalize the text
result = normalizer.normalize(text)
print(result)
'اصلاح نویسهها و استفاده از نیمفاصله پردازش را آسان میکند و حروف عربی استفادهشده غلط مانند ک و ی را حذف میکند. '
License:
This project is a fork of the Hazm project and is licensed under the MIT License. See the LICENSE file for details.
Future Work:
- Plan to publish this as a package on PyPI for easy installation via
pip.
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 hazm_normalizer-0.3.0.tar.gz.
File metadata
- Download URL: hazm_normalizer-0.3.0.tar.gz
- Upload date:
- Size: 782.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb3902c5b903f034b5d94f5e709f549b38ffa0fe80cc198bc6a82a90ce9872b4
|
|
| MD5 |
ed2969269f5ce2cb459d567f3d5a3ffa
|
|
| BLAKE2b-256 |
44e40d7508704d29d0d727670bb8ecaeea2fcddce42f1f782195e2370fd35c20
|
File details
Details for the file hazm_normalizer-0.3.0-py3-none-any.whl.
File metadata
- Download URL: hazm_normalizer-0.3.0-py3-none-any.whl
- Upload date:
- Size: 787.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f36b6a654ae72d4e5ed75ecdb6c863c2216da4f110db1d7ce95dc179799aad7
|
|
| MD5 |
7e3459715ad756bdd984e8afc0ed7384
|
|
| BLAKE2b-256 |
c29a677d0274761e07dd34d914355bb78c840c521201626d1fe970fb46c9e71c
|