[Spambayes] sb_dbexpimp.py doc bug(s)
Skip Montanaro
skip at pobox.com
Wed Mar 24 15:25:49 EST 2004
Webb> Here's the Usage section of the output from sb_dbexpimp.py -h:
...
Webb> -f: FN : flat file to export to or import from
...
Webb> -f: FN : name of dbm database file to use
Webb> -d is missing, and -f is there twice. Presumably the second -f
Webb> should be -d. I'll take your word that this has been fixed
Webb> already.
That was fixed in CVS by Kenny Pitt a little over a month ago.
Webb> Database merging - multiple databases can be merged into
Webb> one quite easily by simply not specifying -n on an
Webb> import. This will add the two database nham and nspams
Webb> together (assuming the two databases do not share
Webb> corpora) and for wordinfo conflicts, will add spamcount
Webb> and hamcount together.
Thanks, I'll fix that.
Webb> and the third example shows,
Webb> Export, then import (reorganize) new pickled mybayes.db
Webb> sb_dbexpimp -e -i -n -p mybayes.db -f mybayes.db.export
This seems just plain weird to me. I'm going to delete this example and add
a merge example.
Thanks for the feedback,
Skip
More information about the Spambayes
mailing list