hcnb

A plugin for Hachi to detect spam.


Keywords
filter, Hachi, plugin, naive, bayes
License
MIT
Install
pip install hcnb==0.0.1

Documentation

Hachi: A simple spam filter framework service built on Flask

Documentation Status Build Status

Deploy

Getting started

  1. Try our demo or deply Hachi on Heroku

  2. 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)