Difference between revisions of "Bogofilter"

From OnnoWiki
Jump to navigation Jump to search
Line 23: Line 23:
 
  randomtrain -s spam.mbox -n ham.mbox
 
  randomtrain -s spam.mbox -n ham.mbox
  
==Cek wordlist.db==
 
 
Install
 
 
sudo apt-get install lifelines
 
cd ~/.bogofilter/
 
 
  
  

Revision as of 09:12, 5 January 2011

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