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
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
profane_detector-1.1.3.tar.gz
(16.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file profane_detector-1.1.3.tar.gz.
File metadata
- Download URL: profane_detector-1.1.3.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd5cf217292d8c7afece6cec00ccc2c898392adf10002b7a0969d87c39070f20
|
|
| MD5 |
d028bfa519ec96cc712d3a48dc076e0c
|
|
| BLAKE2b-256 |
544caa3dad90a54445804175e87d742cc0fd1e39807ccf56bb92736d87b69171
|
File details
Details for the file profane_detector-1.1.3-py3-none-any.whl.
File metadata
- Download URL: profane_detector-1.1.3-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ae0a58ae5bf0141b0f173e23dae458a3a22941eccf57f238a4bac5755df86c2
|
|
| MD5 |
9e8ef60af00438da615da9d3f97c5e1a
|
|
| BLAKE2b-256 |
e6242b72315b9e1b9cbe70fddb2966e1061df8a1ef881fc1769c405fdd7f3d60
|