Article View: news.software.nntp
Article #46098Re: Cleanfeed's "scoring filter"
From: Ben C. O. Grimm
Date: Thu, 27 Apr 2000 00:00
Date: Thu, 27 Apr 2000 00:00
46 lines
2426 bytes
2426 bytes
On 27 Apr 2000 20:49:13 GMT, iglesias@draco.acs.uci.edu (Mike
Iglesias) wrote:
> Is there some documentation that describes what the "scoring filter"
> in Cleanfeed does, and the motivation for it? I'm just curious
> about it.
If you look at the source, it's pretty clear. Just open the cleanfeed
file in a viewer like 'more' or 'less' or whatever, and look for lines
containg the word 'score'. You'll see lines like
($lch{'subject'} =~ /http:..$ip/o) && ($score += 5);
which means that a Subject header with a URL like
http://123.123.123.123 adds 5 points to the score for that article and
($lch{'organization'} =~ /http:..(?:$ip|$stealthIP)/o) && ($score +=
7);
which means about the same for the Organization header.
An article containg numerical URL's in both Subject and Organization
header will be 'awarded' a score of 12.
There are also lines like
while ($lch{'subject'} =~ /$one_point_words/go) { $score += 1 }
which mean that words in the pre-defined category of 'one_point_words'
appearing in the Subject header will add a score of one point each.
This category shows up in the source:
$one_point_words = "teen|hot|sex| etc. etc.
If I'm correct, articles with a score over 7 get rejected:
($score > 7) && (return reject ("Scoring filter ($score)", "Scoring
filter"));
--
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ------- http://libertas.wirehub.net/ -
Technical Details
Message-ID:
<71bhgsgihqid3v791g01o339n10i0fjrt7@thor.wirehub.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<8ea949$8s1$1@news.service.uci.edu>Show Full Headers
Complete Article Headers
Message-ID: <71bhgsgihqid3v791g01o339n10i0fjrt7@thor.wirehub.nl> Subject: Re: Cleanfeed's "scoring filter" Date: Thu, 27 Apr 2000 00:00:00 +0000 From: Ben C. O. Grimm <Ben.Grimm@wirehub.net> References: <8ea949$8s1$1@news.service.uci.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 616510543 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@wirehub.net X-Trace: thor.wirehub.nl 956870104 10225 195.86.114.90 (27 Apr 2000 21:15:04 GMT) Organization: Wirehub! Internet Engineering Mime-Version: 1.0 NNTP-Posting-Date: 27 Apr 2000 21:15:04 GMT Newsgroups: news.software.nntp