PHP Classes
elePHPant
Icontem

Profanity Filter: Determine if a text contains many obscene words

Recommend this page to a friend!

  Author Author  
Picture of Mike Block
Name: Mike Block <contact>
Classes: 1 package by
Country: Canada Canada


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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)
 
  Groups   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


  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

Install with Composer Install with Composer - 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.