Skip to main content

A small profane_detector

Project description

ProfanityDetector

A Python library for profanity detection in text, providing a customizable ProfaneDetector class. Easily integrate into your projects to filter or flag content.

Installing

pip install profane-detector

Usage examples

from profane_detector import ProfaneDetector

profane_detector = ProfaneDetector()

to_detect = "fuck you!"
language = "en"

did_detect = profane_detector.detect_api(language, to_detect)
print(did_detect)

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

profane_detector-1.1.2.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

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

profane_detector-1.1.2-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file profane_detector-1.1.2.tar.gz.

File metadata

  • Download URL: profane_detector-1.1.2.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for profane_detector-1.1.2.tar.gz
Algorithm Hash digest
SHA256 9767e5e7af8bf1bb07d33fbf3c9073bd8792f4529c720503e1d9180a1efb0dac
MD5 8636f7d65a7022c3ba34c8c2551a8723
BLAKE2b-256 6322906f48ea785c3a1b78338accc8d9496b6b3fe1c634a8c331808c08fb7688

See more details on using hashes here.

File details

Details for the file profane_detector-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for profane_detector-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 344215edb6a996ee3a1cb2d8a4bdca9fa6445111123938019a97f1ca396dda38
MD5 b4f1101c4e6bbd0cc428f7aa824035cf
BLAKE2b-256 aef1e0801b92c13e0357830e8f9f99c382f205b3200cada99e8da5027a34fa53

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