clear-word-ar


Nameclear-word-ar JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryArabic text filtering for inappropriate words | تصفية النصوص العربية من الكلمات غير اللائقة
upload_time2024-06-03 06:32:28
maintainerNone
docs_urlNone
authorSaleh
requires_pythonNone
licenseNone
keywords python text filter arabic text filter bad words emoji removal بايثون نص تصفية عربي تصفية النصوص كلمات سيئة إزالة الإيموجيات تنظيف النصوص تطبيق تحليل نصوص بيانات نصية
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Clear-Word-ar

مكتبة `Clear-Word-ar` هي مكتبة بايثون مفتوحة المصدر تستخدم لتصفية الكلمات غير اللائقة من النصوص العربية. تهدف هذه المكتبة إلى مساعدة المطورين على تحسين محتوى النصوص عن طريق إزالة الكلمات البذيئة والإيموجيات غير المرغوبة.

## الميزات

- إزالة الإيموجيات من النصوص
- إزالة الأحرف المتكررة
- إزالة الحركات: (كل الحركات، حذف الشدة، حذف التطويل، حذف الحركة الأخيرة)
- تصفية الكلمات البذيئة مع إرجاع `True` أو `False`

## التثبيت

لتثبيت المكتبة، يمكنك استخدام الأمر التالي:

```bash
pip install clear-word-ar
```
## مثال

```
from clearAR import Word

text = "هذا النص لا يحتوي كلمات غير لائقة"

if Word.BadWord(text):
    print("النص يحتوي على كلمات غير لائقة")
else:
    print("النص خالٍ من الكلمات غير لائقة")
```
`output : النص خالٍ من الكلمات غير لائقة `




            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "clear-word-ar",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, text, filter, arabic, text filter, bad words, emoji removal, \u0628\u0627\u064a\u062b\u0648\u0646, \u0646\u0635, \u062a\u0635\u0641\u064a\u0629, \u0639\u0631\u0628\u064a, \u062a\u0635\u0641\u064a\u0629 \u0627\u0644\u0646\u0635\u0648\u0635, \u0643\u0644\u0645\u0627\u062a \u0633\u064a\u0626\u0629, \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0625\u064a\u0645\u0648\u062c\u064a\u0627\u062a, \u062a\u0646\u0638\u064a\u0641 \u0627\u0644\u0646\u0635\u0648\u0635, \u062a\u0637\u0628\u064a\u0642, \u062a\u062d\u0644\u064a\u0644 \u0646\u0635\u0648\u0635, \u0628\u064a\u0627\u0646\u0627\u062a \u0646\u0635\u064a\u0629",
    "author": "Saleh",
    "author_email": "<your_email@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/5b/66/18dd07ef69ce787df38fc7457b44914408bb058256f0cd2ff2492b17fa33/clear_word_ar-0.0.1.tar.gz",
    "platform": null,
    "description": "\n# Clear-Word-ar\n\n\u0645\u0643\u062a\u0628\u0629 `Clear-Word-ar` \u0647\u064a \u0645\u0643\u062a\u0628\u0629 \u0628\u0627\u064a\u062b\u0648\u0646 \u0645\u0641\u062a\u0648\u062d\u0629 \u0627\u0644\u0645\u0635\u062f\u0631 \u062a\u0633\u062a\u062e\u062f\u0645 \u0644\u062a\u0635\u0641\u064a\u0629 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u063a\u064a\u0631 \u0627\u0644\u0644\u0627\u0626\u0642\u0629 \u0645\u0646 \u0627\u0644\u0646\u0635\u0648\u0635 \u0627\u0644\u0639\u0631\u0628\u064a\u0629. \u062a\u0647\u062f\u0641 \u0647\u0630\u0647 \u0627\u0644\u0645\u0643\u062a\u0628\u0629 \u0625\u0644\u0649 \u0645\u0633\u0627\u0639\u062f\u0629 \u0627\u0644\u0645\u0637\u0648\u0631\u064a\u0646 \u0639\u0644\u0649 \u062a\u062d\u0633\u064a\u0646 \u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u0646\u0635\u0648\u0635 \u0639\u0646 \u0637\u0631\u064a\u0642 \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u0627\u0644\u0628\u0630\u064a\u0626\u0629 \u0648\u0627\u0644\u0625\u064a\u0645\u0648\u062c\u064a\u0627\u062a \u063a\u064a\u0631 \u0627\u0644\u0645\u0631\u063a\u0648\u0628\u0629.\n\n## \u0627\u0644\u0645\u064a\u0632\u0627\u062a\n\n- \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0625\u064a\u0645\u0648\u062c\u064a\u0627\u062a \u0645\u0646 \u0627\u0644\u0646\u0635\u0648\u0635\n- \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0623\u062d\u0631\u0641 \u0627\u0644\u0645\u062a\u0643\u0631\u0631\u0629\n- \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u062d\u0631\u0643\u0627\u062a: (\u0643\u0644 \u0627\u0644\u062d\u0631\u0643\u0627\u062a\u060c \u062d\u0630\u0641 \u0627\u0644\u0634\u062f\u0629\u060c \u062d\u0630\u0641 \u0627\u0644\u062a\u0637\u0648\u064a\u0644\u060c \u062d\u0630\u0641 \u0627\u0644\u062d\u0631\u0643\u0629 \u0627\u0644\u0623\u062e\u064a\u0631\u0629)\n- \u062a\u0635\u0641\u064a\u0629 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u0627\u0644\u0628\u0630\u064a\u0626\u0629 \u0645\u0639 \u0625\u0631\u062c\u0627\u0639 `True` \u0623\u0648 `False`\n\n## \u0627\u0644\u062a\u062b\u0628\u064a\u062a\n\n\u0644\u062a\u062b\u0628\u064a\u062a \u0627\u0644\u0645\u0643\u062a\u0628\u0629\u060c \u064a\u0645\u0643\u0646\u0643 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0627\u0644\u0623\u0645\u0631 \u0627\u0644\u062a\u0627\u0644\u064a:\n\n```bash\npip install clear-word-ar\n```\n## \u0645\u062b\u0627\u0644\n\n```\nfrom clearAR import Word\n\ntext = \"\u0647\u0630\u0627 \u0627\u0644\u0646\u0635 \u0644\u0627 \u064a\u062d\u062a\u0648\u064a \u0643\u0644\u0645\u0627\u062a \u063a\u064a\u0631 \u0644\u0627\u0626\u0642\u0629\"\n\nif Word.BadWord(text):\n    print(\"\u0627\u0644\u0646\u0635 \u064a\u062d\u062a\u0648\u064a \u0639\u0644\u0649 \u0643\u0644\u0645\u0627\u062a \u063a\u064a\u0631 \u0644\u0627\u0626\u0642\u0629\")\nelse:\n    print(\"\u0627\u0644\u0646\u0635 \u062e\u0627\u0644\u064d \u0645\u0646 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u063a\u064a\u0631 \u0644\u0627\u0626\u0642\u0629\")\n```\n`output : \u0627\u0644\u0646\u0635 \u062e\u0627\u0644\u064d \u0645\u0646 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u063a\u064a\u0631 \u0644\u0627\u0626\u0642\u0629 `\n\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Arabic text filtering for inappropriate words | \u062a\u0635\u0641\u064a\u0629 \u0627\u0644\u0646\u0635\u0648\u0635 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0645\u0646 \u0627\u0644\u0643\u0644\u0645\u0627\u062a \u063a\u064a\u0631 \u0627\u0644\u0644\u0627\u0626\u0642\u0629",
    "version": "0.0.1",
    "project_urls": null,
    "split_keywords": [
        "python",
        " text",
        " filter",
        " arabic",
        " text filter",
        " bad words",
        " emoji removal",
        " \u0628\u0627\u064a\u062b\u0648\u0646",
        " \u0646\u0635",
        " \u062a\u0635\u0641\u064a\u0629",
        " \u0639\u0631\u0628\u064a",
        " \u062a\u0635\u0641\u064a\u0629 \u0627\u0644\u0646\u0635\u0648\u0635",
        " \u0643\u0644\u0645\u0627\u062a \u0633\u064a\u0626\u0629",
        " \u0625\u0632\u0627\u0644\u0629 \u0627\u0644\u0625\u064a\u0645\u0648\u062c\u064a\u0627\u062a",
        " \u062a\u0646\u0638\u064a\u0641 \u0627\u0644\u0646\u0635\u0648\u0635",
        " \u062a\u0637\u0628\u064a\u0642",
        " \u062a\u062d\u0644\u064a\u0644 \u0646\u0635\u0648\u0635",
        " \u0628\u064a\u0627\u0646\u0627\u062a \u0646\u0635\u064a\u0629"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4ab826ed95f049f5dc3354dc52359bb6478ad506208d5fec99f8c9ed2626d3d",
                "md5": "5e824790e632c56db02dc05ae2bed8d7",
                "sha256": "802c0a0775cbdf366f486194a9cf7c493af198efe3c124892a4adc282cfeb326"
            },
            "downloads": -1,
            "filename": "clear_word_ar-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5e824790e632c56db02dc05ae2bed8d7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 1929,
            "upload_time": "2024-06-03T06:32:26",
            "upload_time_iso_8601": "2024-06-03T06:32:26.804020Z",
            "url": "https://files.pythonhosted.org/packages/a4/ab/826ed95f049f5dc3354dc52359bb6478ad506208d5fec99f8c9ed2626d3d/clear_word_ar-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5b6618dd07ef69ce787df38fc7457b44914408bb058256f0cd2ff2492b17fa33",
                "md5": "47c51258b99ea634544c520a0ff41e11",
                "sha256": "ae21d2fe2cc435cfa73e0f2836ba89318fdf083ecfa2bf6c508a9486cbe64150"
            },
            "downloads": -1,
            "filename": "clear_word_ar-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "47c51258b99ea634544c520a0ff41e11",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2453,
            "upload_time": "2024-06-03T06:32:28",
            "upload_time_iso_8601": "2024-06-03T06:32:28.896373Z",
            "url": "https://files.pythonhosted.org/packages/5b/66/18dd07ef69ce787df38fc7457b44914408bb058256f0cd2ff2492b17fa33/clear_word_ar-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-03 06:32:28",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "clear-word-ar"
}
        
Elapsed time: 0.32446s