Files
post-moderation/ai-moderation/app/test/test_text_classifier.py
2026-07-28 01:10:11 +03:00

20 lines
266 B
Python

from app.container import profanity_detector
tests = [
"ЗАлУпа",
"Ты идиот",
"Это идиоты",
"Хорошего дня"
]
for text in tests:
result = profanity_detector.detect(text)
print(
text,
"=>",
result
)