This code doesn't run for me. I get the following error from line 25: 

"Traceback (most recent call last):
  File "\Text", line 25, in <module>
AttributeError: Vector subtraction: (Vector - tuple) invalid type for this operation
Error: Python script failed, check the message in the system console"

Please fix the code so it runs successfully.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence