🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by wyzwyz Mon, 24 Oct 2005 06:16
-dialog- scoring
#175419
Author: wyzwyz
Date: Mon, 24 Oct 2005 06:16
11 lines
1117 bytes
is there an easier way to write

!ignore Subject blah.com @from: blah.com

eg combine the subject|from together?

thx


-- 
wyz
Re: -dialog- scoring
#175416
Author: Maik Prinz
Date: Mon, 24 Oct 2005 09:26
16 lines
1688 bytes
*wyzwyz* schrieb am Mo, 24. Okt. 2005 um 8:16...
> is there an easier way to write
> !ignore Subject blah.com @from: blah.com
> eg combine the subject|from together?

!ignore Subject "blah.com" +@From:{ blah.com }

... not sure!


HTH, Maik
-- 
250+ 3D Wallpaper: http://www.2prinz.de
40tude Dialog - Free Windows-Newsreader
Download: http://www.40tude.com/dialog/
NG: news:de.comm.software.40tude-dialog
Re: -dialog- scoring
#175433
Author: Bob Nevin
Date: Tue, 25 Oct 2005 02:45
17 lines
1609 bytes
On Mon, 24 Oct 2005 11:26:49 +0200, Maik Prinz wrote:

> *wyzwyz* schrieb am Mo, 24. Okt. 2005 um 8:16...
>> is there an easier way to write
>> !ignore Subject blah.com @from: blah.com
>> eg combine the subject|from together?
> 
> !ignore Subject "blah.com" +@From:{ blah.com }
> 
> ... not sure!
> 
> 
> HTH, Maik

Why not !delete   ?
-- 
r.s.nevin@att.net
Re: -dialog- scoring
#175434
Author: Lars Biskupek
Date: Tue, 25 Oct 2005 05:01
12 lines
1893 bytes
Bob Nevin schrieb/wrote:
> On Mon, 24 Oct 2005 11:26:49 +0200, Maik Prinz wrote:
>> *wyzwyz* schrieb am Mo, 24. Okt. 2005 um 8:16...

>>> is there an easier way to write
>>> !ignore Subject blah.com @from: blah.com
>> !ignore Subject "blah.com" +@From:{ blah.com }

> Why not !delete   ?

Because !delete would not be an easier way to write !ignore. It is a
totally different action. ;-)
Re: -dialog- scoring
#175459
Author: Korbinian Abenthum
Date: Wed, 26 Oct 2005 01:23
18 lines
2052 bytes
Maik Prinz wrote:
> *wyzwyz* schrieb am Mo, 24. Okt. 2005 um 8:16...

>> is there an easier way to write
>> !ignore Subject blah.com @from: blah.com
>> eg combine the subject|from together?

Easier still? What would you have in mind?

> !ignore Subject "blah.com" +@From:{ blah.com }

JFTR, you don't have to use regular expressions of course.

| !ignore Subject "silly subject" +@From:"silly user"

-- 
The shadows come to dance, my lord, dance my lord, dance my lord.
The shadows come to stay, my lord, stay my lord, stay my lord.
Re: -dialog- scoring
#175484
Author: wyzwyz
Date: Thu, 27 Oct 2005 10:37
31 lines
1942 bytes
Wed, 26 Oct 2005 03:23:20 +0200, Korbinian Abenthum <korbinian@gmx.de>
wrote in <news:261005.032320.nsr.70@news.abenthum.de>:

> Maik Prinz wrote:
>> *wyzwyz* schrieb am Mo, 24. Okt. 2005 um 8:16...
> 
>>> is there an easier way to write
>>> !ignore Subject blah.com @from: blah.com
>>> eg combine the subject|from together?
> 
> Easier still? What would you have in mind?
> 
>> !ignore Subject "blah.com" +@From:{ blah.com }
> 
> JFTR, you don't have to use regular expressions of course.
> 
>| !ignore Subject "silly subject" +@From:"silly user"

What I was trying to saw was, if "blah" was the same for both the
subject and from field (or any other multiple fields), was there a way
to combine them, eg

!action from|subject "blah"


PS. !ignore was just an example



-- 
wyz
Re: -dialog- scoring
#175488
Author: Korbinian Abenthum
Date: Thu, 27 Oct 2005 14:58
23 lines
2120 bytes
wyzwyz wrote:
> Wed, 26 Oct 2005 03:23:20 +0200, Korbinian Abenthum <korbinian@gmx.de>
>> Maik Prinz wrote:
>>> *wyzwyz* schrieb am Mo, 24. Okt. 2005 um 8:16...

>>>> is there an easier way to write
>>>> !ignore Subject blah.com @from: blah.com
>>>> eg combine the subject|from together?

> What I was trying to saw was, if "blah" was the same for both the
> subject and from field (or any other multiple fields), was there a way
> to combine them, eg

Ah, now I get it.
Hmm, well you *could* use something like (untested)

!ignore Header {^(From|Subject): [^\r]*blah.com}

But I wouldn't. It's slower, and you have to retrieve the body to score on
the complete header.

-- 
As High As Honor.
Re: -dialog- scoring
#175518
Author: wyzwyz
Date: Sun, 30 Oct 2005 15:13
19 lines
1806 bytes
Thu, 27 Oct 2005 16:58:54 +0200, Korbinian Abenthum <korbinian@gmx.de>
wrote in <news:271005.165854.nsr.71@news.abenthum.de>:

>> What I was trying to saw was, if "blah" was the same for both the
>> subject and from field (or any other multiple fields), was there a way
>> to combine them, eg
> 
> Ah, now I get it.
> Hmm, well you *could* use something like (untested)
> 
> !ignore Header {^(From|Subject): [^\r]*blah.com}
> 
> But I wouldn't. It's slower, and you have to retrieve the body to score on
> the complete header.

Thanks, any other tips for speeding up the score file?

-- 
wyz
Re: -dialog- scoring
#175519
Author: Enrico Bauer
Date: Sun, 30 Oct 2005 17:03
7 lines
1649 bytes
30.10.2005 16:13:42, *wyzwyz*:
> any other tips for speeding up the score file?

Do not use regular expressions!
-- 
No fear. No distractions. The ability to let that
which does not matter truly slide.
Re: -dialog- scoring
#175527
Author: wyzwyz
Date: Mon, 31 Oct 2005 15:39
14 lines
1839 bytes
Sun, 30 Oct 2005 18:03:39 +0100, Enrico Bauer
<Henniku@expires-31-10-2005.news-group.org>
wrote in <news:301005.180339.nsr.41@ID-5349.user.uni-berlin.de>:

> 30.10.2005 16:13:42, *wyzwyz*:
>> any other tips for speeding up the score file?
> 
> Do not use regular expressions!

How much of a penalty would a {\bFOO\b} be?


-- 
wyz
Re: -dialog- scoring
#175612
Author: Korbinian Abenthum
Date: Thu, 03 Nov 2005 13:30
16 lines
2070 bytes
wyzwyz wrote:
> Sun, 30 Oct 2005 18:03:39 +0100, Enrico Bauer
>> 30.10.2005 16:13:42, *wyzwyz*:

>>> any other tips for speeding up the score file?

>> Do not use regular expressions!

> How much of a penalty would a {\bFOO\b} be?

AFAIKT it's not so bad, especially an easy regex like the above. The number
of entries in the scorefile has a bigger impact in my experience (although I
didn't really test it).

-- 
"No I'm a different dwarf with a hideous facial scar" - Tyrion Lannister
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