Skip to main content

Detect profanity in a sentence.

Project description

Profanity Detector

  • Installing:
    pip install ProfanityDetector

  • Requirements:
    requests

Sample Usage

from ProfanityDetector import detector

sentence = "This is a sample sentence."
word, detected = detector(sentence)

if detected:
    print(f"Profanity detected.\nWord: {word}")

Made with 💕 by @TeamUltroid.

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

ProfanityDetector-0.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

ProfanityDetector-0.1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file ProfanityDetector-0.1.tar.gz.

File metadata

  • Download URL: ProfanityDetector-0.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for ProfanityDetector-0.1.tar.gz
Algorithm Hash digest
SHA256 e120d6f4a8bb06ebbf7e2bee9561a55c668d00b8b2d40a90dbca29967878495d
MD5 3ea417e36b2b4a94585f50c5de4a220f
BLAKE2b-256 f9fed5210f40000c24d28bcee4e03ac1adda4a5a3f28ad05bb9740ef7461049f

See more details on using hashes here.

Provenance

File details

Details for the file ProfanityDetector-0.1-py3-none-any.whl.

File metadata

  • Download URL: ProfanityDetector-0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for ProfanityDetector-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6535c1b327cbb08e7992ec2cc3cef057c8d57c40804916e9c54a33754133d555
MD5 1d14bbec8c68a1e1f62b55b63a4c6962
BLAKE2b-256 7dacda48b1d3189dcac83653fa2ceb5e53a338663743ed25641faccca30b31df

See more details on using hashes here.

Provenance

Supported by

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