A simple Python package to analyze word frequency in text - محلل تكرار الكلمات
Project description
Word Frequency Analyzer - محلل تكرار الكلمات
حزمة Python بسيطة لتحليل تكرار الكلمات في النصوص.
A simple Python package to analyze word frequency in text.
التثبيت - Installation
pip install word-frequency-analyzer
الاستخدام - Usage
استخدام الحزمة في كود Python
from word_frequency_analyzer import word_frequency, analyze_text
# تحليل النص
text = "مرحبا بك في محلل تكرار الكلمات مرحبا"
result = word_frequency(text)
print(result)
# Output: [('مرحبا', 2), ('بك', 1), ('في', 1), ('محلل', 1), ('تكرار', 1), ('الكلمات', 1)]
# الحصول على نتائج منسقة
formatted_result = analyze_text(text)
print(formatted_result)
استخدام الحزمة من سطر الأوامر
word-frequency
أو
python -m word_frequency_analyzer
الميزات - Features
- تحليل تكرار الكلمات في النصوص
- دعم اللغة العربية والإنجليزية
- إزالة علامات الترقيم تلقائياً
- ترتيب النتائج حسب التكرار
- واجهة سطر أوامر سهلة الاستخدام
- قابلة للاستخدام كمكتبة في مشاريعك
المتطلبات - Requirements
- Python 3.7 أو أحدث
الترخيص - License
MIT License
المساهمة - Contributing
المساهمات مرحب بها! يرجى فتح issue أو pull request.
Contributions are welcome! Please open an issue or pull request.
الكاتب - Author
Your Name
الدعم - Support
إذا واجهتك أي مشكلة، يرجى فتح issue على GitHub.
If you encounter any problems, please open an issue on GitHub.
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 word_frequency_analyzer-0.1.0.tar.gz.
File metadata
- Download URL: word_frequency_analyzer-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07122183eaab9490f5ba6ab5ccac8bba0c160e5e2744ee0fce6366d7d5aecbaf
|
|
| MD5 |
0ade8c3bf3c6af033a827e5289006fd5
|
|
| BLAKE2b-256 |
222c55f6d255d45de0192f9875e196ac7dc624e56225b5e0ae51cbf44c6f1ebe
|
File details
Details for the file word_frequency_analyzer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: word_frequency_analyzer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fa181dc9c5870128dbf5c2b4bb9e08dcb237ac30e564abde6c4168560d30624
|
|
| MD5 |
2c5fb327c13de931086d43ddfdbe3e1f
|
|
| BLAKE2b-256 |
c8d39fbbc71ed753e3f45cdfb40de55b91255ea5d04380b653ea11ae09adf123
|