PHP Classes

Profanity Filter: Determine if a text contains many obscene words

Recommend this page to a friend!

  Author Author  
Name: Mike Block <contact>
Classes: 1 package by
Country: Canada Canada
Age: ???
All time rank: 269960 in Canada Canada
Week rank: 837 Up15 in Canada Canada Up

  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)
All time users: 749 users
All time rank: 4418
Week users: 0 users
Week rank: 359 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

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

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

For more information send a message to info at phpclasses dot org.