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
Release history Release notifications | RSS feed
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.2.tar.gz
(14.0 kB
view details)
Built Distribution
File details
Details for the file ProfanityDetector-0.2.tar.gz
.
File metadata
- Download URL: ProfanityDetector-0.2.tar.gz
- Upload date:
- Size: 14.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c4dbf9751510419b1687462a7149831949718b5d4a6d88c3778de04ee8776b0 |
|
MD5 | 495c00967902f9cbb52dace496772432 |
|
BLAKE2b-256 | c1c73b86f3b550e345014a445458ff23a25a28b1df2a4609bae1bc9326407b33 |
File details
Details for the file ProfanityDetector-0.2-py3-none-any.whl
.
File metadata
- Download URL: ProfanityDetector-0.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fcf7dc5f1cf6d94a85ccfd582b2b7894a5e6e84e231276d5cf5395149b76b03 |
|
MD5 | dae887c47b148f03c6b72d77b64005e1 |
|
BLAKE2b-256 | 08f61c7337aa393fef0d984dbf9e8f2375f186f9882a9b150e64e8a150cacfdc |