PHP Classes
Icontem

Class: Bayesian Spam Filter


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cesar D. Rodas  >  Bayesian Spam Filter  >  Download  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Bayesian Spam Filter Support forum
Base name: bayesianspamfilter
Description: Detect spam in text using Bayesian techniques
Related top rated classes: , , ,
Version: 1.1
Required PHP version: 4.0
License: BSD License
All time users: 2050 users
All time rank: 1301
Week users: 12 users
Week rank: 601
 
  Author   Group folder image Groups   Detailed description   Freshmeat project  
  Rate classes User ratings   Trackback   Applications   Related links   Files Files  

Author

Picture of Cesar D. Rodas
Name: Cesar D. Rodas is available for providing paid consulting. Contact Cesar D. Rodas .
Published packages: 34 Browse this author's classes Browse this author's classes
Country: Paraguay Paraguay - PHP jobs in Paraguay
Home page: http://cesarodas.com/
Age: 22
All time rank: 12
Week rank: 9

Innovation Award

PHP Programming Innovation award nominee
December 2007
Number 3
Determining whether a message is spam or not, is a subjective task.

Using Bayesian techniques it is possible to make a computer program learn what can be spam and what may not be spam.

A program may be trained using sample messages and telling it which are spam. Once the program is well trained, it may start guessing what is spam all by itself.

This package implements solution written completely in PHP that uses Bayesian techniques to detect spam text messages.

Manuel Lemos

Groups

Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Artificial intelligence Automation of tasks using human-like intelligence View top rated classes

Detailed description

This class can be used to detect spam in text messages using Bayesian techniques.

It analyzes the text words in terms of n-grams in a way that is idiom independent.

It can be trained to progressively distinguish what is spam and what is not spam by detecting patterns in training samples. Training data is stored in a MySQL database.

Freshmeat project

Project record: phpspam
Popularity score: 13.11
Vitality score: 1.0

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (80.0%)
Sufficient (65.0%)
Sufficient (60.0%)
Sufficient (70.0%)
Sufficient (68.8%)
-
Sufficient (66.4%)
316
Month:
Not yet rated by the users

Trackback links

Link Description
Filtro Bayesiano in PHP Segnalo una interessante implementazione dei filtri bayesiani in php + mysql...
GSoC - WP - Category Suggester - [Proposal] This project is an idea that I got while I was reading the N-gram text Categorization...
PHP Spam detection project While I was googling-up for know how the LibTextCat works internally, I found the paper that had changed my life, N-Gram-Based Text Categorization...

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.

Related links

Link Description
PDF Documentation PDF Documentation

Files

File Role Description
Files folder image example
  Plain text file test.php Test Testing script
  Plain text file base.sql Data Example of Spams and mysql table to save the knowledge
  Plain text file config.php Conf. Example
  Accessible without login Plain text file example.php Example Classification example
  Accessible without login Plain text file example_trainer.php Example Example of how to traine the spam database
Plain text file ngram.php Class N-gram class
Plain text file spam.php Class Spam detection class
Accessible without login HTML file spamdetection.html Doc. General information about this class
Plain text file trainer.php Class Spam trainer class
Download all files: bayesianspamfilter.tar.gz bayesianspamfilter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products