eZ Community » Forums » Suggestions » Bayesian spam filter for comments,...
expandshrink

Bayesian spam filter for comments, feedbacks form ...

Bayesian spam filter for comments, feedbacks form ...

Friday 16 April 2010 4:45:54 pm - 8 replies

I'm working on an extension to auto filter comments, feedbacks form and other user postings based on a Bayesian spam algorithm.

The filter is getting more accurate as you teach it what is spam and what is ham. So it can be a bit random on first times.

Was wondering if the community finds this interesting. If so I would share it when ready.

Monday 19 April 2010 9:07:20 am

Hi !

this is definitely interesting! Do you have technical details on this solution ?

Cheers !

Wednesday 21 April 2010 1:18:37 pm

I won't be re-inventing the wheel here.

There are several PHP classes that do this. My plan is to use the following library for the extension:

http://www.phpclasses.org/package/4236-PHP-Detect-spam-in-text-using-Bayesian-techniques.html

It is using a DB table to store data from what the script is learning.

My extension would have:

  • a module that loads up all comments / feedbacks (should be customizable) and allow you to mark them as SPAM or HAM and send for learning.
  • a workflow event that would analyze each post of a comments / feedbacks (customizable) against the base.
  • a way to moderate messages marked as spam/ham
  • the DB table would be modified to allow a different base for each siteaccess.

Wednesday 21 April 2010 2:03:23 pm

Why not use Akismet? http://code.google.com/p/ezakismet/ & http://akismet.com/

Thursday 22 April 2010 3:31:14 pm

Excellent. That might save me hours of dev time big-smile.gif Emoticon

Will test it, thanks for sharing

Tuesday 13 July 2010 3:37:26 am

The reply has been removed because of violation of forum rules.

Wednesday 11 August 2010 7:48:25 am

The reply has been removed because of violation of forum rules.

Friday 17 September 2010 10:43:41 am

The reply has been removed because of violation of forum rules.

Friday 16 September 2011 4:27:26 am

The reply has been removed because of violation of forum rules.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from