PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 255 All time: 7,859 This week: 673Up
Version License PHP version Categories
wtext 1.0.0Public Domain4.0PHP 5, Text processing


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.

Picture of Till Wehowski
  Performance   Level  
Name: Till Wehowski <contact>
Classes: 30 packages by
Country: Germany Germany
Age: 45
All time rank: 107269 in Germany Germany
Week rank: 170 Up7 in Germany Germany Up
Innovation award
Innovation award
Nominee: 12x


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

  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  
This week:0
All time:7,859
This week:673Up