PHP Classes

wText: Detect and filter spam in text

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
Not enough user ratingsTotal: 255 All time: 7,862 This week: 673Up
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.

Picture of Melanie Wehowski
  Performance   Level  
Name: Melanie Wehowski <contact>
Classes: 30 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 12x

Recommendations

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

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

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