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.2.tar.gz (237.3 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.2-py3-none-any.whl (241.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wiqaya-0.2.2.tar.gz
  • Upload date:
  • Size: 237.3 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.2.tar.gz
Algorithm Hash digest
SHA256 722d3c308fd173000d52792d55919ab5c38562fa317290216774150bf967d8d5
MD5 5de6ff0d0f3c12629534833cedcc5763
BLAKE2b-256 c9e686a6382a6eb793f869693eefe18c9397bf5285de003b63aad724cbf363ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiqaya-0.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: wiqaya-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 241.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ea6a72ae832ad60a44b55fa3b440b539b831f6754e45207658a1fd38064453c
MD5 27e2d79de7c0429325e75b1fee94e658
BLAKE2b-256 f107a9cee444d5aea2395543288ef57b25d3f32806b406de3804383fcb0c7772

See more details on using hashes here.

Provenance

The following attestation bundles were made for wiqaya-0.2.2-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