SpamDetectorAI is a tool for detecting spam words in emails or text messages. Here is a tutorial:
fromSpamDetectorAIimportspamfilterasspamdetector#Create a filterspamfilter=spamdetector.SpamFilter()
#Report a spam messagespamfilter.report_spam(message="|MESSAGE|", keyword="|KEYWORD|", spammer="|SPAMMER|")
#Check if a message is spamspamfilter.check_spam(text="|MESSAGE|")