Skip to main content

Arabic text filtering for inappropriate words | تصفية النصوص العربية من الكلمات غير اللائقة

Project description

Clear-Word-ar

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

الميزات

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

التثبيت

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

pip install clear-word-ar

مثال

from clearAR import Word

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

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

output : النص خالٍ من الكلمات غير لائقة

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clear_word_ar-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clear_word_ar-0.0.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file clear_word_ar-0.0.1.tar.gz.

File metadata

  • Download URL: clear_word_ar-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.4

File hashes

Hashes for clear_word_ar-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ae21d2fe2cc435cfa73e0f2836ba89318fdf083ecfa2bf6c508a9486cbe64150
MD5 47c51258b99ea634544c520a0ff41e11
BLAKE2b-256 5b6618dd07ef69ce787df38fc7457b44914408bb058256f0cd2ff2492b17fa33

See more details on using hashes here.

File details

Details for the file clear_word_ar-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: clear_word_ar-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.4

File hashes

Hashes for clear_word_ar-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 802c0a0775cbdf366f486194a9cf7c493af198efe3c124892a4adc282cfeb326
MD5 5e824790e632c56db02dc05ae2bed8d7
BLAKE2b-256 a4ab826ed95f049f5dc3354dc52359bb6478ad506208d5fec99f8c9ed2626d3d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page