Article View: news.software.readers
Article #55174Re: slrn: scoring challenge - scoring direct and indirect followups accordingly
From: teasmoke
Date: Mon, 13 Dec 1999 00:00
Date: Mon, 13 Dec 1999 00:00
68 lines
3612 bytes
3612 bytes
Still, questions about Sven Guckes' hands, which might one day hold *my* Myst book, are unsettling to me: > * teasmoke <gn08251@news.giganews.com>: > > > Of course, <[^>]+> actually doesn't avoid matching my IDs (which is what > > I'd mistakenly thought), it's just that the recipe she provided is happy > > to match References: <me> <123@foo> <456@bar> in *addition* to References: > > <me> <789@baz> <me> > > [groups] Score: References: <me>$ Yes, I know. I've got that in for direct replies. (Sorry. Bad example.) What I'm working towards is graduated scoring for posts in threads in which I've participated, scored based on how far back the first instance of one of my message-ids is in the references header of the scored article. Because, the farther back my reply is in the given thread, the less likely it is that I will want to read or respond to the post. The recipes from my scorefile that I made with her pattern are: # Score: 9000 # Message-Id: gn08251@erudite\.localdomain # Score: 8000 # References: gn08251@erudite\.localdomain>$ # Score: 7000 # References: <[^>]+gn08251@erudite\.localdomain>[ \t\n]+<[^>]+>$ # Score: 6000 # References: <[^>]+gn08251@erudite\.localdomain>[ \t\n]+<[^>]+>[\ # \t\n]+<[^>]+>$ # Score: 5000 # References: <[^>]+gn08251@erudite\.localdomain>[ \t\n]+<[^>]+>[\ # \t\n]+<[^>]+>[ \t\n]+<[^>]+>$ # Score: 4000 # References: <[^>]+gn08251@erudite\.localdomain>[ \t\n]+<[^>]+>[\ # \t\n]+<[^>]+>[ \t\n]+<[^>]+>[ \t\n]+<[^>]+>$ # Score: 3000 # References: <[^>]+gn08251@erudite\.localdomain>[ \t\n]+<[^>]+>[\ # \t\n]+<[^>]+>[ \t\n]+<[^>]+>[ \t\n]+<[^>]+>[ \t\n]+<\ # [^>]+>$ Given the header # References: <123@foo> <234@bar> <me!> <345@baz> <me!> <456@baz> <567@qux> , both the 6000-pattern and the 4000-pattern will match that article, leaving it with a score of 10000. In order to avoid this, I have to set each of those scores with an =, which has the first one to match wipe out all the other tests. So the above References header scores 6000, as desired. The problem with this, as I've mentioned, is that the =s also skip the scoring I have set up for linecount and poster relevancy. Which is unfortunate. Served with a smile, -- Kerne *whew* Quite a lot of explaining.
Technical Details
Message-ID:
<slrn85av1j.459.gn08251@erudite.localdomain>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn85412c.7cf.gn08251@erudite.localdomain> <slrn854an2.jr7.hezu@tuuri.ling.helsinki.fi> <slrn855n8b.1uh.gn08251@erudite.localdomain> <833met$3a88c$8@fu-berlin.de> <slrn85apk8.cm.gn08251@erudite.localdomain> <833qrd$3a88c$12@fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn85av1j.459.gn08251@erudite.localdomain> Subject: Re: slrn: scoring challenge - scoring direct and indirect followups accordingly Date: Mon, 13 Dec 1999 00:00:00 +0000 From: gn08251@news.giganews.com (teasmoke) References: <slrn85412c.7cf.gn08251@erudite.localdomain> <slrn854an2.jr7.hezu@tuuri.ling.helsinki.fi> <slrn855n8b.1uh.gn08251@erudite.localdomain> <833met$3a88c$8@fu-berlin.de> <slrn85apk8.cm.gn08251@erudite.localdomain> <833qrd$3a88c$12@fu-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 560292589 X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@GigaNews.Com X-Trace: sv2-rgqS5DdSmfTq6iCO1Idr5smxijV4Epvvy9410DSZ6IcNsQey2rjw+j0kANC87AmR2x9z1X0cO4s51Un!dSwSBXUEfQ== Organization: Giganews.Com - Premium News Outsourcing User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: kmfahey@toast.net NNTP-Posting-Date: Mon, 13 Dec 1999 17:07:34 CST Newsgroups: news.software.readers