Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 768 Bytes

File metadata and controls

34 lines (22 loc) · 768 Bytes

Spam Detection using Naive Bayes

This is the sample of Spam Detection using Naive Bayes implemented in Python3.

System Requirement

How to run

  • You have to create a classifier file using training data-set
Run the `spam.py` file

Note: there will be a file named spam_detection.classifier is created.

  • Running detection
Run the `detector.py` file
Find a collection of text that you want to test
Convert text into a single line
Paste it in the command-line input of the program `detector.py`
Exit the detection by type `exit`

Future Improvement

  • There should have an interface for testing the program