PHP Classes
elePHPant
Icontem

wText: Detect and filter spam in text

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-11-17 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 238 All time: 7,514 This week: 779Up
Version License PHP version Categories
wtext 1.0.0Public Domain4.0PHP 5, Text processing
Description Author

This class can detect and filter spam in text.

It can take a given text string and parse it to determine weight factor that reflects the probability of a the text being spam.

The class takes a list of words and associated weights known to be used in spam text.

It also takes a list of stop words to be excluded from the text when its spam weight factor is being evaluated.

The class can return a condition that states whether the text was considered spam weight, as well remove spam words from the text.

Recommendations

Get all words in sentence
Some class to get all of words in sentence

  Performance   Level  
Name: Till Wehowski <contact>
Classes: 14 packages by
Country: Germany Germany
Age: 38
All time rank: 134384 in Germany Germany
Week rank: 5 Up2 in Germany Germany Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Accessible without login Plain text file spamwords.txt Data List of spamwords
Accessible without login Plain text file stopwords.txt Data List of stopwords
Accessible without login Plain text file wText.php Class main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:238
This week:0
All time:7,514
This week:779Up