PHP Classes

Spam Filter: Classify spam text messages using a knowlegde base

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 3,274 All time: 1,065 This week: 45Up
Version License Categories
spamfilter 1.0GNU General Publi...Text processing, Content management
Description 

Author

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.

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
Picture of Rafael Pinto
Name: Rafael Pinto <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 42
All time rank: 26317 in Brazil Brazil
Week rank: 180 Up12 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,274
This week:0
All time:1,065
This week:45Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:75%StarStarStarStar
Videos:-
Overall:57%StarStarStar
Rank:1576
 
not found the file data.
16 years ago (mohd shaik)
0%Star