Как https://stackoverflow.com/info/1521646/best-profanity-filter, но для Python - и я ищу библиотеки, я могу запускать и контролировать себя локально, в отличие от веб-сервисов.
(И хотя его всегда здорово слышать ваши принципиальные принципиальные возражения против фильтрации ненормативной лексики, я не особо ищу их здесь. Я знаю, что фильтрация профанации не может поднять все обидные вещи. Я знаю, клянусь, в великой схеме вещи, это не особенно большая проблема. Я знаю, что вам нужен какой-то человеческий вклад для решения проблем контента. Id просто хотел бы найти хорошую библиотеку и посмотреть, что я могу сделать с ней.)