https://github.com/botsarefuture/profane_detector
A Python library for profanity detection in text, providing a customizable ProfaneDetector class. Easily integrate into your projects to filter or flag content.
https://github.com/botsarefuture/profane_detector
Last synced: 3 months ago
JSON representation
A Python library for profanity detection in text, providing a customizable ProfaneDetector class. Easily integrate into your projects to filter or flag content.
- Host: GitHub
- URL: https://github.com/botsarefuture/profane_detector
- Owner: botsarefuture
- Created: 2024-01-10T13:33:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T17:45:27.000Z (almost 2 years ago)
- Last Synced: 2024-09-06T21:02:34.853Z (almost 2 years ago)
- Language: Python
- Size: 78.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
pip install profane-detector
```
## Usage examples
```python
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)
```