Skip to content

cardinal9999/SpamDetectorAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

SpamDetectorAI

SpamDetectorAI is a tool for detecting spam words in emails or text messages. Here is a tutorial:

from SpamDetectorAI import spamfilter as spamdetector
#Create a filter
spamfilter = spamdetector.SpamFilter()
#Report a spam message
spamfilter.report_spam(message="|MESSAGE|", keyword="|KEYWORD|", spammer="|SPAMMER|")
#Check if a message is spam
spamfilter.check_spam(text="|MESSAGE|")