Login   Register  
PHP Classes

Spam Filter: Classify spam text messages using a knowlegde base

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Rafael Pinto
Name: Rafael Pinto <e-mail contact>
Packages: 4 Browse all classes by Rafael Pinto Browse all classes by
Country: Brazil Brazil - PHP jobs in Brazil
Age: 31
All time rank: 26220 in Brazil Brazil
Week rank: 283 Down15 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Detailed description   Download Download .zip .tar.gz  
This class can automatically classify text messages to determine whether or not their are considered to be spam.

It can build a knowledge base of known text expressions that can be looked up later to evaluate a factor that expresses the probability of a given text to be spam.

This class could be used in Web mail applications or even in less obvious applications like forums and guest books, acting like an semi-automatic moderator.

  Classes of Rafael Pinto  >  Spam Filter  >  Download Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Spam Filter
Base name: spamfilter
Description: Classify spam text messages using a knowlegde base
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3223 users
All time rank: 999
Week users: 0 users
Week rank: 1628 Equal
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Content management Components and tools to manage content View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
May 2005
Number 3

Prize: One book of choice by O'Reilly
Determining whether a text in a message or in Web page is spam is a difficult task, as it requires a kind of contextual analysis that is not trivial to emulate in software.

This class provides a solution that can classify text and build a knowledge base of what should be or should not be considered spam based on information that may eventually be provided by a human user.

Since it processes text that can be presented in many formats, it could be used to classify and detect spam on many Internet services like e-mail, Web pages, forums, chat services, etc..

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (80.0%) Sufficient (65.0%) - Sufficient (70.0%) Good (80.0%) - Sufficient (61.5%) 765
Month: Not yet rated by the users

  Trackback links  
Link Description
HELP! please Recommend an anti-spam captcha for on-line forms ...Also there are php classes that will allow you to analyze messages and filter spam, like this one:...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file guestbook.php Example Guestbook Example with SpamFilter
Plain text file spamfilter.php Class SpamFilter Class
Accessible without login Plain text file spamfilterTest.php Test SpamFilter Test

Download Download all files: spamfilter.tar.gz spamfilter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.