Article View: news.software.readers
Article #255400Re: [SLRN] scoring question
From: Steve Crook
Date: Sat, 10 Aug 2013 08:50
Date: Sat, 10 Aug 2013 08:50
27 lines
1763 bytes
1763 bytes
On Sat, 10 Aug 2013 03:08:45 +0000 (UTC), Lewis wrote in
Message-Id: <slrnl0bblu.e2d.g.kreme@mbp55.local>:
> Let's say i want to score on a header like "Organization" which may or
> may not be present. I want to achieve the following:
>
> If the header is present, and contains anything except "Acme, Inc" I
> want to give it a score of +100. If the header is not present, I don't
> want to do anything.
I would probably break it into 2 parts:
Score +100 for having an Organization header
Score -100 if Organization is "Acme, Inc"
This approach means you can easily score down other Organization headers
you don't like.
Score: 100
Organization: .*
Score:: -100
Organization: Acme, Inc
--
What shall we use
To fill the empty spaces
Where we used to talk?
Technical Details
Message-ID:
<slrnl0bvnj.pdk.steve@snorky.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<slrnl0bblu.e2d.g.kreme@mbp55.local>Show Full Headers
Complete Article Headers
Message-ID: <slrnl0bvnj.pdk.steve@snorky.mixmin.net> Subject: Re: [SLRN] scoring question Date: Sat, 10 Aug 2013 08:50:59 +0000 From: Steve Crook <steve@mixmin.net> References: <slrnl0bblu.e2d.g.kreme@mbp55.local> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail Newsgroups: news.software.readers Organization: Mixmin Injection-Date: Sat, 10 Aug 2013 08:50:59 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="12941"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.2-9 (Linux) Lines: 26 X-Original-Bytes: 1488