Here is the first example:
Profanity-check - A fast, robust Python library to check for profanity or offensive language in strings.
Profanity-check uses a linear SVM model trained on 200k human-labeled samples of clean and profane text strings. Its model is simple but surprisingly effective, meaning profanity-check is both robust and extremely performant. The author analyzed existing profanity checkers and found that they can be improved significantly. And so here is the new profanity-check library distributed under MIT. Below are the links: https://medium.com/@victorczhou/building-a-better-profanity-detection-library-with-scikit-learn-3638b2f2c4c2
link to code https://github.com/vzhou842/profanity-check