Fred did this in a custom Eval, except it wouldn't return a custom score. You would call the rule like :
body rulename eval dookie(blah,5) (Syntax might be a little off, I'm tired) and it wouldn't hit unless "blah" hit 5 times. Or something like that. But then it turned into a huge list of rules. One for 5 w/ a score, 8 w/ bigger, 10+ even bigger. I think we abandond it until we could write one rule that would return a custom score based on count. However JM informed us that this had been a Perl problem I think. It was a while ago, and its tough to keep track of all the daily things we cover. I'm lucky I even remembered to wear socks today. *Checks to make sure* Yup, socks today. --Chris > -----Original Message----- > From: Charles Gregory [mailto:[EMAIL PROTECTED] > Sent: Monday, March 08, 2004 6:09 PM > To: [EMAIL PROTECTED] > Subject: Re: [spa] Suggested rule - beyond my ability to make > > > > Once again, a suggestion for a rule based on the number of > matches/occurences. I still say this should be a generic mechanism > in SA, allowing flexible scoring, including zero for low counts. > > On Mon, 8 Mar 2004, Al Danks wrote: > > Does anyone have a rule along this line: > > > > Many superlatives-est: best, greatest, quickest, biggest, > largest, etc. > > > > Many superlatives-er:super, bigger, larger, quicker, thinner, etc. > > > > Many superlatives exceptional, quick, completely, totally, > absolutely > > > > I'm thinking of something along the lines of: > > > > body MANY_SUPERLATIVES_EST \b[best|greatest|quickest]\b/i{5} > > > > another for 6, 7, 8, 9, at least 10. > > > > Since I'm totally new to rule writing I hope I'm in the > ballpark enough to > > communicate what I'm trying to do, but I don't expect what > I have will work. > > > > Al > > >
