Skip to main content

A fast, memory-efficient multilingual profanity filter using Parquet.

Project description

Multilingual Profanity Filter


GitHub Actions Workflow Status License Code style: black

Introduction

This project provides a profanity filter that supports multiple languages. It is designed to be easy to use and integrate into various applications. The filter uses a comprehensive list of profane words for each supported language, allowing it to effectively identify and filter out inappropriate content.

It uses the List of Dirty, Naughty, Obscene, and Otherwise Bad Words as its primary source for profane words, which is a widely used repository of such words in multiple languages.

Table of Contents 🗂

Supported Languages 🌐

The profanity filter currently supports the same languages as the LDNOOBWV2 repository, you can find it here.

Installation ⚙️

This package is available on PyPI, so you can install it using pip:

pip install multilingual-profanity

Usage ⌨️

Citation ✍️

If you use this project in your research, please cite as follows:

@misc{profanity_filter,
  author  = {Stephan Akkerman},
  title   = {Profanity Filter},
  year    = {2026},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/StephanAkkerman/profanity-filter}}
}

Contributing 🛠

Contributions are welcome! If you have a feature request, bug report, or proposal for code refactoring, please feel free to open an issue on GitHub. We appreciate your help in improving this project.
https://github.com/StephanAkkerman/profanity-filter/graphs/contributors

License 📜

This project is licensed under the MIT License. See the LICENSE file for details.

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

multilingual_profanity-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

multilingual_profanity-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file multilingual_profanity-0.1.0.tar.gz.

File metadata

  • Download URL: multilingual_profanity-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for multilingual_profanity-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad1c4070095f4525b7d4e5401e10001cd686d3dac6d830433b61122d0af92637
MD5 f0fdc60ffeeb5bc9eb9c635352ab330c
BLAKE2b-256 83832e50842be63853f2717a4ebaaa7f14bf4fc3d73a2faa8537122f340606f5

See more details on using hashes here.

File details

Details for the file multilingual_profanity-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multilingual_profanity-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f21e6bf755d24b15f0e1d7fefa1ca8858f80e228f40fd6a1c11be4f85efd0d6
MD5 0ee6b537fb8f002c66e2dfffb9e1eef6
BLAKE2b-256 6b005e96c7b8d905340caf0f551a8773396aa8f2d9c7c546c5ee25b60bb4b324

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