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