Re: score file - how to?

From: Hardy Griech (rgriech@swol.de)
Date: Sat, 24 May 1997 22:03:45 +0100

On Sat, 24 May 1997 12:18:55 -0500, bobr@mcs.com (Robert P. Rush) wrote:
:
> > I experimented this alternative. It didn't work for me. VSoup errored out
> > and aborted using the score file. The questioned is the killthreshold
> > line within { }. I rechecked vsoup.inf. Does every score-rule need be
> > preceded with a score ? or killthreshold must be global?
>
> I'm sorry, I thought you were using Souper. That is the correct
> syntax for Souper. From What I could tell from the VSoup
> documentation, the killthreshold line must be placed outside of any
> set of braces { }.
:

Yes, VSoup only has one single global killthreshold. This might be
seen as a limitation, but on the other hand, one can specify the
kill-group with a regular expression. And this feature makes it
impossible to have group-killthresholds.

Imagine you have a killgroup 'os2' with a local killthreshold of '-5'
and another killgroup 'binaries' with a local killthreshold of '-1'.
How should VSoup decide, if it checks 'comp.os.os2.binaries'?

> According to the VSoup documentation, every score rule does need to be
> preceded by a number.

Correct.

> If you want to apply a killthreshold to a specific group, the "-1
> Subject: $" seems to be the only way, although, you might want to
> change the '$' to a '^'. That way, it'll look for the beginning of the
> line instead of the end of the line. It may speed it up just a tad.
:

Hmm, that's the place, where I cannot follow... What should '-1
subject: $' match? Should it
(1) match a subject line containing a '$' or
(2) should it match every subject line (i.e. every article)?

For case
(1) '-1 subject: $' is ok, for
(2) one could also use '-1 subject:' or other expressions which are
always evaluating to true (like: '-1 Lines: > 0').

Hardy

-- 
Hardy Griech, Ernetstr. 10/1, D-77933 Lahr
http://privat.swol.de/ReinhardGriech/