Hachi: A simple spam filter framework service built on Flask
Getting started
Clone this repo and do the following steps to deploy your own machine
$ python main.py
$ curl -X POST -F "query=i like apple" -F "filters=blacklist" -F "level=34" http://0.0.0.0:8008/api/v1/spamfilter
Features
Filters:
- Naive Bayes (scikit-learn)
- Blacklist (Wu-Manber)
- Meaningless words (statistical way)