Spam Counter Attack with Python

This simple program was inspired by this video. However, with this program, replying to spam email is performed automatically. Determining whether or not an email message is a spam is accomplished by comparing it with a set of predefined spam and non-spam email messages. A similar tool can be built to be applied in other areas. As an example, it can be modified to automatically answer customer questions by retrieving the most appropriate answer from a database. Of course, building such a tool requires more than just a simple binary classification. However, that is something which is still within our reach.