[pLog-svn] r6088 - plog/branches/lifetype-1.2/class/security

Mark Wu markplace at gmail.com
Thu Nov 29 11:12:02 EST 2007


Hi Jon:

That's why authimage always after BayesianFilter ...

You can not training this comment as a "spam" just becasue it is input wrong
authimage code...

Becasue maybe user just input thw wrong image code. It is not a valid
behavior.

Mark 

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> Sent: Thursday, November 29, 2007 11:59 PM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] r6088 - 
> plog/branches/lifetype-1.2/class/security
> 
> On Thu, 29 Nov 2007, Mark Wu wrote:
> > Actually, the situation won't happened in our scenario.
> >
> > We don't have the mechanism to tell the next pipeline 
> filter that the 
> > previous one is invalid, and you need to treat the comment 
> as spam and 
> > train it again.
> >
> > So, even we run again all filters again, the Bayesian filter still 
> > treat the comment  as a"non-spam" comment
> 
> Isn't that what this is for?
> 
> $previouslyRejected = $this->_pipelineRequest->getRejectedState();
> 
> 
> > But, another scenario may happened:
> >
> > If the Bayesian filter caught it as a spam, but his auhtimage is 
> > wrong. At that time, the comment already add to database.
> > That's why some people complain to me the auhtimage fails 
> when comment 
> > marked as spam.
>  	Yes, I see.  I wonder what there is to do about that.  
> I guess the auth image plugin could check if previously 
> rejected, and remove the comment from the database if the 
> auth image is wrong.
> 
> 
> > Even so, we still need to run all filters once, not twice.
>  	I am working on a solution.  It isn't as pretty as I 
> thought it would be, so I'll check it in when I am done and 
> see what you think.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list