Re: Repeat: how do I erase mistakes from ~/.idata?

"Clemens Fischer" <[email protected]> 21 Sep 2002 20:14:59 +0200
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
Skip Montanaro <[email protected]> writes:

> I'm unclear what you mean here.  If I "unlearn" a message, all it does is
> decrement the relevant counters, right?  I'm completely obliterating the
> bogus category and all its frequency pairs, effectively "unlearning" all
> messages which were falsely stuck in that pigeonhole.

what happens to a message having words that also count in good
categories?  remember you don't have only the category and its related
frequencies, you also have counts of how many messages were read and
so on.  if you don't unlearn by re-feeding all the messages with "-d
wrong-category" to delete their statistics first, all the counts from
the first several lines of the database file are wrong!  this will
change ifiles behaviour in future runs.  your script, unless used
_after_ "ifile -d wrong-category" runs, will garble up the statistics
badly!

clemens