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.1.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.1.tar.gz.
File metadata
- Download URL: profane_detector-1.1.1.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 |
0c4c067b27479ed8ebd9fef902d7be307237eae10ba075afa011fb5f17d39f3d
|
|
| MD5 |
455a0c491b865b857c76143f5fb1267d
|
|
| BLAKE2b-256 |
d231d8697a6635de95358941d2254f1763e84749bd6e8e445a73112f160bc57c
|
File details
Details for the file profane_detector-1.1.1-py3-none-any.whl.
File metadata
- Download URL: profane_detector-1.1.1-py3-none-any.whl
- Upload date:
- Size: 20.4 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 |
8c399d4d929d618b3a78377dcf38ac5a11f219f94daf5c2d9c1ce3ab19469553
|
|
| MD5 |
231780bc67bfd448e23e0c79ba5f8a32
|
|
| BLAKE2b-256 |
1e4687a5cbe05a948f481e48c9f2922abb6cc0ba91670437874f28b9905fcdc1
|