Difference between revisions of "Bogofilter"

From OnnoWiki
Jump to navigation Jump to search
Line 8: Line 8:
 
  bogofilter -n < ham.mbox
 
  bogofilter -n < ham.mbox
  
Teknik training yang lain
+
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'
 
  bogominitrain.pl -fnv ~/.bogofilter ham.mbox spam.mbox '-o 0.9,0.3'
 
Teknik training yang lain lagi
 
  
 
  randomtrain -s spam.mbox -n ham.mbox
 
  randomtrain -s spam.mbox -n ham.mbox
  
bogominitrain.pl dan randomtrain ada di directory contrib
 
  
  

Revision as of 08:45, 5 January 2011

Install

apt-get install bogofilter

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