What to do for HTML comment processing ???

Suzanne Skinner tril at igs.net
Fri Mar 7 04:13:35 CET 2003


On Thu, Mar 06, 2003 at 06:58:01PM -0500, David Relson wrote:

> Mostly, I an interested in what people want bogofilter to do with tokens
> inside of html tags and comments.  Obvious choices include the following:
> 
> 1a - discard all tokens inside html tags
> 1b - discard all tokens inside html comments
> 2a - score all tokens inside html tags
> 2b - score all tokens inside html comments

[snip]

My thought would be to do 2b, but add context by prefixing all such tokens
with "comment:".

Suzanne

-- 
tril at igs.net - http://www.igs.net/~tril/

A Pope has a Water Cannon.                               It is a Water Cannon.
He fires Holy-Water from it.                        It is a Holy-Water Cannon.
He Blesses it.                                 It is a Holy Holy-Water Cannon.
He Blesses the Hell out of it.          It is a Wholly Holy Holy-Water Cannon.
He has it pierced.                It is a Holey Wholly Holy Holy-Water Cannon.
Batman and Robin arrive.                                       He shoots them.
                                    -- Principia Discordia




More information about the Bogofilter mailing list