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