> -----Original Message----- > From: Dallas L. Engelken [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 13, 2004 11:38 AM > To: [EMAIL PROTECTED] > Subject: RE: [WL] [SAtalk] How to count pattern matches? > > > > > On Tue, 13 Jan 2004, Christian Recktenwald wrote: > > > > is there a possibility to count the number of occurences of a > > > > given pattern? > > > > > > I've asked for this before. Never heard any replies. > > > I was actually hoping for a test with a minimum threshold, > > such as "If > > > count is greater than 5" then score 'x'. > > > > > > - Charles > > > > > > > There is a custom eval that does this. I will see if the > > author wishes to make it public just yet. It didn't do what > > we thought it would, but we learned a lot from it. So its a > > work in progress. > > > > but you'd still have to call the eval multiple times in order to give > different scores based on true/false return values from your eval... > > i can write this eval for you in just a few minutes if that guy doesnt > want to make it available. > > dallas >
Agreed! That was his biggest complaint. One of the things we learned was it depends on the size of the email. We had to look at how many times a phrase hit and was the email big(or small) enough to justify it might indicate spam. --Chris ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk