-
Installing:
pip install ProfanityDetector
-
Requirements:
requests
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.