Re: Scoring articles by ration of bytes/lines
Charles Kerr <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.pan.devel |
|---|---|
| Message-ID | <[email protected]> |
Konrad Karl wrote: > Hi, > > I want to be able to score/filter/delete articles where > the ration of article_bytes / article_lines is below a certain > value. > > Many sporged postings could be easily identified. With > the old pan 1.x I have been using a simple perl filter program > in oder to delete articles with a too low ratio and this simple > approach worked surprisingly well - the algortithm might require some > tweaking, e.g if number of lines < 10 then dont apply the > ratio rule etc. etc. > > Now I have started looking into the latest sources but I am > afraid it will take considerable time until I will understand > whats going on. > > What do you think? > > Greetings, > Konrad Hi Konrad, This can be done in 0.120 by adding a scoring rule to ignore all articles with a line count less than 10. See Article > Add a Scoring Rule cheers, Charles