Skip to main content

A Python library for multilingual profanity detection and filtering. It identifies and censors offensive or abusive words across multiple languages.

Project description

🌐 العربية

Wiqaya 🛡️

A Python library for multilingual profanity detection and filtering. It identifies and censors offensive or abusive words across multiple languages.

Installation

pip install wiqaya

Usage

from wiqaya import Wiqaya

w = Wiqaya(lang="en")

w.is_profane("damn")        # True
w.is_profane("Hello World") # False
w.get_profane_words("this is damn annoying") # ['damn']

[!NOTE] The library automatically removes Arabic diacritics (Tashkeel) when using Arabic language mode

Supported Languages

Code Language Code Language Code Language
af Afrikaans am Amharic ar العربية
az Azerbaijani be Belarusian bg Bulgarian
ca Catalan ceb Cebuano cs Czech
cy Welsh da Danish de German
dz Dzongkha el Greek en English
eo Esperanto es Spanish et Estonian
eu Basque fa Persian fi Finnish
fil Filipino fr French gd Scottish Gaelic
gl Galician hi Hindi hr Croatian
hu Hungarian hy Armenian id Indonesian
is Icelandic it Italian ja Japanese
kab Kabyle kh Khmer ko Korean
la Latin lt Lithuanian lv Latvian
mi Maori mk Macedonian ml Malayalam
mn Mongolian mr Marathi ms Malay
mt Maltese my Burmese nl Dutch
no Norwegian pih Norfuk piy Picard
pl Polish pt Portuguese ro Romanian
rop Kriol ru Russian sk Slovak
sl Slovenian sm Samoan sq Albanian
sr Serbian sv Swedish ta Tamil
te Telugu tet Tetum th Thai
tlh Klingon to Tongan tr Turkish
uk Ukrainian uz Uzbek vi Vietnamese
yid Yiddish zh Chinese zu Zulu

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

wiqaya-0.2.4.tar.gz (237.5 kB view details)

Uploaded Source

Built Distribution

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

wiqaya-0.2.4-py3-none-any.whl (241.5 kB view details)

Uploaded Python 3

File details

Details for the file wiqaya-0.2.4.tar.gz.

File metadata

  • Download URL: wiqaya-0.2.4.tar.gz
  • Upload date:
  • Size: 237.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wiqaya-0.2.4.tar.gz
Algorithm Hash digest
SHA256 3ac7e2b23deaaabc9c128ab6767b220686f2f8562e6abe4c52664a770bbabad2
MD5 f33a7463b455d7c10e77cdc4f8c6a59a
BLAKE2b-256 b7c2e36949442d1bcf47d2949fd961bcd0defc15fd91c636d1a5752b8510ccfb

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiqaya-0.2.4.tar.gz:

Publisher: publish.yml on be-at/wiqaya

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wiqaya-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: wiqaya-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 241.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wiqaya-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d247f7f6de312b5e19985f7329bb9999a182712eccc282a8e88d8f69a4a7933
MD5 8a7696e98a4525ae265be41dbf5066a4
BLAKE2b-256 7abdf8b897e60007b24ecf8b7ce627fc87127966746c7c5829572ce2a2699fde

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiqaya-0.2.4-py3-none-any.whl:

Publisher: publish.yml on be-at/wiqaya

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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