Difference between revisions of "Bogofilter"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 8: | Line 8: | ||
bogofilter -n < ham.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' | bogominitrain.pl -fnv ~/.bogofilter ham.mbox spam.mbox '-o 0.9,0.3' | ||
− | |||
− | |||
randomtrain -s spam.mbox -n ham.mbox | randomtrain -s spam.mbox -n ham.mbox | ||
− | |||
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