This class can replace text with profanity words looking up a MySQL database.
It can process a text string by looking up its words in a MySQL database table which has profanity words.
The class can replace the found profane words with alternative non-profane words also retrieved from the MySQL database.
Alternatively it can replace the words with asterisks or grawlix symbol characters.
The class also provides means to add, retrieve, update or delete words from the profanity MySQL database table. |