From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88659 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.gnus.general Subject: Re: scoring based on a number of matches Date: Thu, 11 Jul 2019 15:46:59 -0400 Organization: disorganization Message-ID: References: <87imsb85ks.fsf@ericabrahamsen.net> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="56318"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin) To: ding@gnus.org Original-X-From: ding-owner+M36863@lists.math.uh.edu Thu Jul 11 21:48:18 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlf3C-000ERC-PV for ding-account@gmane.org; Thu, 11 Jul 2019 21:48:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92) (envelope-from ) id 1hlf2O-0003JM-Vh; Thu, 11 Jul 2019 14:47:29 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1hlf2I-0003Gf-SR for ding@lists.math.uh.edu; Thu, 11 Jul 2019 14:47:22 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hlf2G-0007Ci-74 for ding@lists.math.uh.edu; Thu, 11 Jul 2019 14:47:22 -0500 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226] helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlf2B-00070E-9a for ding@gnus.org; Thu, 11 Jul 2019 21:47:17 +0200 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hlf26-000DBV-0A for ding@gnus.org; Thu, 11 Jul 2019 21:47:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Cancel-Lock: sha1:bQCdoWpiwgVd+fxrIkmJ7P5Q6q4= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88659 Archived-At: > * Eric Abrahamsen [2019-07-09 10:45:39 -0700]: > > Sam Steingold writes: > >> I want to down-score articles with many all-upper case words in the >> subject. >> Ideally, I would like a "multiplier", e.g.: > > Not the answer you wanted, but it sounds like you're asking Gnus to play > the role of a Bayesian spam filter a la spamassassin or rspamd. This is for a bona fide comp.lang.lisp newsgoups. Cannot do that. However, the following works for me now: --8<---------------cut here---------------start------------->8--- (("subject" ("[^a-z]\\{40\\}" -100 nil R) ("[^a-z]\\{100\\}" -300 nil R) ("[^a-z]\\{150\\}" -1000 nil R) )) --8<---------------cut here---------------end--------------->8--- (note `R` instead of `r`!) -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1671 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com http://islamexposedonline.com https://ffii.org http://iris.org.il Things that cannot be programmed in assembler have to be soldered.