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
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.0.tar.gz.
File metadata
- Download URL: profane_detector-1.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30207eb368dad024f2d94a1eff06f8d7c9cb790450d7a26b2e3c1eec2c94ad32
|
|
| MD5 |
7d51ed6158b5214e0cdd0a638d4bde4f
|
|
| BLAKE2b-256 |
5f6c661a68062244b5bdb55665f4033aa9ff513c781730b30a4776bf7ace4507
|
File details
Details for the file profane_detector-1.1.0-py3-none-any.whl.
File metadata
- Download URL: profane_detector-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 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 |
da48c9f0f21df55c57b5eb9c624fa379414b8f7cca598d478d15f53cdeeef862
|
|
| MD5 |
5c6a19907541c042519f648a03be950f
|
|
| BLAKE2b-256 |
2bb31c078beb01727665c4bf56f6baed81a32281c822c4b99f9f3484ad174acf
|