On Fri, 24 Jul 2009 17:38:39 -0700 (PDT)
snowweb <pe...@snowweb.co.uk> wrote:

> 
> I tried to view the files bayes.toks, bayes.journal, bayes.seen and
> autowhitelist but they just look jibberish when opened in a unix
> editor. What's the solution to this? I was hoping to be able to tweak
> some of the scores and add certain words etc.

It uses a Berkeley Database.  If you want to tweak anything the easiest
way is to use "sa-learn --backup" to convert to a text file and
"sa-learn --restore" to read the file back in. However the database
works with token hashes, not the actual tokens, it's the last 5 bytes
of the sha1 hash of the token.

Reply via email to