Profanity Filter

Package:
Profanity Filter
Summary:
Determine if a text contains many obscene words
Groups:
PHP 5, Text processing
Author:
Mike Block
Description:
This class can be used to determine if a text contains too many obscene words.

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.

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


Powered by Gewgley