I don't understand any of that code, can you start with something simpler? Such as declaring variables and/or if statements.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence