🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by John Giddy Tue, 02 Aug 2005 01:49
[Dialog] Scoring question
#170346
Author: John Giddy
Date: Tue, 02 Aug 2005 01:49
55 lines
3672 bytes
Hi,
I am trying to limit my viewing of this newsgroup to articles which
contain "[dialog]" or "[Dialog]" in the Subject line. I have set the
scoring and actions for this group as follows (based directly on the
examples in the Help file):

[news.software.readers]
-10 Message-ID *
+20 Subject "[Dialog]", "[dialog]"
!delete Score %<-1

However this produces the result:

Score  Lines         Subject
10	25	Re: [Dialog] Printing emails	
10	35	Re: When following up on post, where to put followup? (gravity)
10	20	Re: [Dialog] Printing emails
10	20	Re: When following up on post, where to put followup? (gravity)
10	17	Re: When following up on post, where to put followup? (gravity
10	9	[Dialog] Printing emails
10	12	Re: When following up on post, where to put followup? (gravity)
10	31	Re: When following up on post, where to put followup? (gravity)
10	24	Re: When following up on post, where to put followup? (gravity)
10	21	Re: When following up on post, where to put followup? (gravity)
10	13	Re: When following up on post, where to put followup? (gravity)
10	11	Re: When following up on post, where to put followup? (gravity)
10	15	Re: Using Gravity, How can I get Gravity to automatically check
for new articles
10	8	Re: Using Gravity, How can I get Gravity to automatically check
for new articles
10	14	Re: When following up on post, where to put followup? (gravity)
10	24	Re: When following up on post, where to put followup? (gravity)
10	28	Re: Is there a site that RATES News Readers by . . . I don't
know, popularity, features etc.?
10	13	Using Gravity, How can I get Gravity to automatically check for
new articles
10	6	Re: When following up on post, where to put followup? (gravity)
10	9	Re: When following up on post, where to put followup? (gravity)
10	21	Re: When following up on post, where to put followup? (gravity)
10	11	When following up on post, where to put followup? (gravity)
10	11	Re: Is there a site that RATES News Readers by . . . I don't
know, popularity, features etc.?
10	5	[dialog] updating groups
10	13	Re: Is there a site that RATES News Readers by . . . I don't
know, popularity, features etc.?
10	30	Is there a site that RATES News Readers by . . . I don't know,
popularity, features etc.?
10	39	Re: [Dialog] Newbie needs help with Scoring

As you can see, there are a number of threads which don't contain the
selected words, which have been scored as +10, when I believe they
should have been scored as -10, and then deleted.
What am I doing wrong please ?

John G.
Re: [Dialog] Scoring question
#170348
Author: Ryoma [Zanbot3000]
Date: Tue, 02 Aug 2005 02:17
14 lines
2779 bytes
On Tue, 02 Aug 2005 01:49:32 GMT, *John Giddy* wrote:

> I am trying to limit my viewing of this newsgroup to articles which
> contain "[dialog]" or "[Dialog]" in the Subject line.

    I would try:
[news.software.readers]
!delete Subject -{^.*(D.a?i?l.?g|40-?t..e)}

-- 
Ryoma
ICQ#41121680
10/10/2005
@836@
Re: [Dialog] Scoring question
#170349
Author: John Giddy
Date: Tue, 02 Aug 2005 03:10
9 lines
1466 bytes
On Tue, 2 Aug 2005 04:17:52 +0200, Ryoma [Zanbot3000] wrote:

> !delete Subject -{^.*(D.a?i?l.?g|40-?t..e)}

Thanks for that Ryoma
It worked fine.
I am still interested as to why the previous commands didn't work as
expected.
Cheers,  John G.
Re: [Dialog] Scoring question
#170352
Author: foxidrive
Date: Tue, 02 Aug 2005 04:38
25 lines
2193 bytes
On Tue, 02 Aug 2005 01:49:32 GMT, John Giddy wrote:

> Hi,
> I am trying to limit my viewing of this newsgroup to articles which
> contain "[dialog]" or "[Dialog]" in the Subject line. I have set the
> scoring and actions for this group as follows (based directly on the
> examples in the Help file):
> 
> [news.software.readers]
> -10 Message-ID *
> +20 Subject "[Dialog]", "[dialog]"
> !delete Score %<-1
> 
> As you can see, there are a number of threads which don't contain the
> selected words, which have been scored as +10, when I believe they
> should have been scored as -10, and then deleted.
> What am I doing wrong please ?

[letters] is a regular expression which means include any of the letters
within the brackets - it seems that Dialog is using your expressions and
interpreting them as regular expressions.

This normally requires the expression to be enclosed in curly braces
{[letters]} but perhaps the parser is broken - or you have global scoring
rules above the [news.software.readers] section which affects the score.
Re: [Dialog] Scoring question
#170354
Author: John Giddy
Date: Tue, 02 Aug 2005 07:10
36 lines
2744 bytes
On Tue, 2 Aug 2005 14:38:57 +1000, foxidrive wrote:

> On Tue, 02 Aug 2005 01:49:32 GMT, John Giddy wrote:
> 
>> Hi,
>> I am trying to limit my viewing of this newsgroup to articles which
>> contain "[dialog]" or "[Dialog]" in the Subject line. I have set the
>> scoring and actions for this group as follows (based directly on the
>> examples in the Help file):
>> 
>> [news.software.readers]
>> -10 Message-ID *
>> +20 Subject "[Dialog]", "[dialog]"
>> !delete Score %<-1
>> 
>> As you can see, there are a number of threads which don't contain the
>> selected words, which have been scored as +10, when I believe they
>> should have been scored as -10, and then deleted.
>> What am I doing wrong please ?
> 
> [letters] is a regular expression which means include any of the letters
> within the brackets - it seems that Dialog is using your expressions and
> interpreting them as regular expressions.
> 
> This normally requires the expression to be enclosed in curly braces
> {[letters]} but perhaps the parser is broken - or you have global scoring
> rules above the [news.software.readers] section which affects the score.

Thank you, foxidrive
You are quite correct, it seems.  If I remove the square brackets from
the "Dialog" and "dialog", my original rule works OK.
So now I have two possibilities: your modification of my original
rule, and Ryoma's single line version, which also works fine.
Thanks to you both for increasing my understanding of scoring and
rules.
John G.
Re: [Dialog] Scoring question
#170356
Author: Korbinian Abenthum
Date: Tue, 02 Aug 2005 12:41
26 lines
2257 bytes
John Giddy wrote:

> I am trying to limit my viewing of this newsgroup to articles which
> contain "[dialog]" or "[Dialog]" in the Subject line.
> 
> [news.software.readers]
> -10 Message-ID *
> +20 Subject "[Dialog]", "[dialog]"
> !delete Score %<-1
                        ^-- That comma is the problem.


> As you can see, there are a number of threads which don't contain the
> selected words, which have been scored as +10

You'll notice that the incorrect +10 articles all had a comma in the
subject.
Remove the comma, and it will work fine.
The reason behind that is that DIALOG is very (overly?) tolerant with the
scorefile syntax. You don't _have_ to use the quotation marks, so the comma
is interpreted as its own entity.
In fact, it is even case insensitive, so you can remove the second tag, too.

-- 
"When the dead come walking, do you think it matters
 who sits the Iron Throne?"
Re: [Dialog] Scoring question
#170357
Author: Korbinian Abenthum
Date: Tue, 02 Aug 2005 12:45
17 lines
2135 bytes
John Giddy wrote:
> On Tue, 2 Aug 2005 14:38:57 +1000, foxidrive wrote:

>> [letters] is a regular expression which means include any of the letters
>> within the brackets - it seems that Dialog is using your expressions and
>> interpreting them as regular expressions.

> You are quite correct, it seems.  If I remove the square brackets from
> the "Dialog" and "dialog", my original rule works OK.

Hmm, maybe there just weren't any articles with commas in the subject?
I'm pretty sure that the square are innocent :)

-- 
"Donal chose you, and Qhorin Halfhand before him. Lord Commander Mormont
 made you his steward. You are a son of Winterfell, a nephew of Benjen
 Stark. It must be you or no one. The Wall is yours, Jon Snow."
Re: [Dialog] Scoring question
#170359
Author: Korbinian Abenthum
Date: Tue, 02 Aug 2005 13:03
17 lines
2178 bytes
John Giddy wrote:
> On Tue, 2 Aug 2005 14:38:57 +1000, foxidrive wrote:

>> [letters] is a regular expression which means include any of the letters
>> within the brackets - it seems that Dialog is using your expressions and
>> interpreting them as regular expressions.

> You are quite correct, it seems.  If I remove the square brackets from
> the "Dialog" and "dialog", my original rule works OK.

Hmm, maybe there just weren't any articles with commas in the subject?
I'm pretty sure that the square brackets are innocent :)

-- 
"Donal chose you, and Qhorin Halfhand before him. Lord Commander Mormont
 made you his steward. You are a son of Winterfell, a nephew of Benjen
 Stark. It must be you or no one. The Wall is yours, Jon Snow."
Re: [Dialog] Scoring question
#170362
Author: John Giddy
Date: Tue, 02 Aug 2005 13:21
31 lines
2443 bytes
On Tue, 2 Aug 2005 14:41:38 +0200, Korbinian Abenthum wrote:

> John Giddy wrote:
> 
>> I am trying to limit my viewing of this newsgroup to articles which
>> contain "[dialog]" or "[Dialog]" in the Subject line.
>> 
>> [news.software.readers]
>> -10 Message-ID *
>> +20 Subject "[Dialog]", "[dialog]"
>> !delete Score %<-1
>                         ^-- That comma is the problem.
> 
> 
>> As you can see, there are a number of threads which don't contain the
>> selected words, which have been scored as +10
> 
> You'll notice that the incorrect +10 articles all had a comma in the
> subject.
> Remove the comma, and it will work fine.
> The reason behind that is that DIALOG is very (overly?) tolerant with the
> scorefile syntax. You don't _have_ to use the quotation marks, so the comma
> is interpreted as its own entity.
> In fact, it is even case insensitive, so you can remove the second tag, too.

Thanks Korbinian.
I tried putting the comma back (I had removed it from the previous
test as "not required")  and most of the unwanted headers returned.
I haven't tried putting the square brackets back, as I am happy with
how the rule is working, and will leave it as is.
Cheers,  John G.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads