Some of the comments seem almost like English versions of the line below them, especially when printing or logging is involved. Can you make it a bit less redundant? Also, can you add documentation and typing to comply with pydocstyle and mypy?
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence