Bogofilter

From OnnoWiki
Jump to navigation Jump to search

Install

Untuk menginstall

apt-get install bogofilter

Training

Training Bogo Filter

bogofilter -s < spam.mbox
bogofilter -n < ham.mbox

Kita bisa menggunakan tool yang ada di contrib, tepatnya /usr/share/doc/bogofilter/examples/contrib/, yaitu

bogominitrain.pl
randomtrain

caranya

bogominitrain.pl -fnv ~/.bogofilter ham.mbox spam.mbox '-o 0.9,0.3'
randomtrain -s spam.mbox -n ham.mbox


Pranala Menarik