🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #255401

Re: [SLRN] scoring question

#255401
From: Lewis
Date: Sat, 10 Aug 2013 10:26
29 lines
2339 bytes
In message <slrnl0bvnj.pdk.steve@snorky.mixmin.net> 
  Steve Crook <steve@mixmin.net> wrote:
> 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"

Right, that's what I do now. Does that mean there is no way to say "If
contents are not <stuff>" without two rules?

> Score: 100
>     Organization: .*

> Score:: -100
>     Organization: Acme, Inc

At least I'm not missing anything.

-- 
You are responsible for your Rose
Technical Details
Message-ID: <slrnl0c5b2.fa2.g.kreme@mgb.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.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!195.62.100.243.MISMATCH!newsfeed0.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <slrnl0bblu.e2d.g.kreme@mbp55.local> <slrnl0bvnj.pdk.steve@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnl0c5b2.fa2.g.kreme@mgb.local>
Subject: Re: [SLRN] scoring question
Date: Sat, 10 Aug 2013 10:26:40 +0000
From: Lewis <g.kreme@gmail.com.dontsendmecopies>
References: <slrnl0bblu.e2d.g.kreme@mbp55.local> <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.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!195.62.100.243.MISMATCH!newsfeed0.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: A noiseless patient Spider
Lines: 29
Injection-Date: Sat, 10 Aug 2013 10:26:40 +0000 (UTC)
Injection-Info: mx05.eternal-september.org;
 posting-host="67a6ffcad0084cff2eaf00478b4e9e19";
 logging-data="14767"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX1/LjWMYFsDyfB5oJ8eoNdg+"
User-Agent: slrn/1.0.1 (Darwin)
X-No-Archive: Yes
X-Excuse: Been playing lots of WoW
X-Face: )^b5"R:T7U>9~:PEn3YkzMfW*[b1qKeU.fP9C8~8HpU9}lA&6`bH1z
Cancel-Lock: sha1:WsZbKekot9EzH4aaHvM4myI9Fek=
Mail-Copies-To: nobody