Login   Register  
PHP Classes
elePHPant
Icontem

Profanity Filter: Determine if a text contains many obscene words

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Mike Block
Name: Mike Block <contact>
Classes: 1 package by
Country: Canada Canada
Age: ???
All time rank: 264258 in Canada Canada
Week rank: 1826 Up43 in Canada Canada Up


  Detailed description   Download Download .zip .tar.gz  
This class can be used to determine if a text string contains too many obscene words, based on ratings of each word, frequency of use, etc.

It parses a given text and checks if it uses words that are part of an obscene words list. It can also look for variants of the words and plural forms of the listed English words. This list can be modified, the ratings for each word changed, etc.

The class returns a score number that may be used by applications to take decisions on whether the text is tolerable for the intended use.

  Classes of Mike Block  >  Profanity Filter  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Profanity Filter
Base name: profanity-filter
Description: Determine if a text contains many obscene words
Version: 0.1
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 627 users
All time rank: 4557
Week users: 0 users
Week rank: 1613 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Test Example of Script
Plain text file profanity_filter.php Class Main Class

Download Download all files: profanity-filter.tar.gz profanity-filter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.