Filter constructor.
Constructor options for Filter class.
List of words to exclude from filter.
List of words to filter.
Character used to replace profane words.
Regular expression used to sanitize words before comparing them to blocklist.
Regular expression used to replace profane words with placeHolder.
Regular expression used to split a string into words.
Profanity Filter class.