training set growth
David Relson
relson at osagesoftware.com
Wed Nov 20 21:26:37 CET 2002
At 03:04 PM 11/20/02, Jeremy Blosser wrote:
>On Nov 20, David Relson [relson at osagesoftware.com] wrote:
>
>
>sorry, but I don't think that's quite what you meant, is it? more like:
>
>for file in goodlist spamlist ; do
> bogoutil -d $BOGOFITLER_DIR/$file.db > $file.all
> cat $file.all | egrep -v " [01]$" | bogoutil -l $file.db
> cp $file.db $BOGOFILTER_DIR
>done
>
>you were probably in a hurry, but I'm trying to pick up the bogofilter
>utils since those are new to me, so it's good practice. ;-)
Guilty as charged. I wrote the script, off the top of my head, to do
goodlist.db, then added the loop. That gave the the opportunity to leave
out a pipe and forget a substitution.
More information about the Bogofilter
mailing list