Profanity Filter
  • 08 May 2025
  • 1 Minute to read
  • Contributors
  • PDF

Profanity Filter

  • PDF

Article summary

Masks unwanted expressions in a given text, filtering out offensive language and inappropriate phrases.

Parameters

name
description
default
IgnoreSslErrorsignore any certificate errors if Profanity address contains httpsfalse
LanguageIndicates the language of the text to be filtereden-US

Inputs

Events

namedescriptionknown nodes that generate this event
*all events containing the 'Text' fieldSR Http

Outputs

Audio

none

Events

namedescription
*Re-raises any input event after masking the Text field. Adds "filtered" to Event.Data.TextAttributes
Filtered Phrases

An Asterisk "*" appears in place of each letter filtered.

Remarks

Project Structure

A minimal sample project can be built as such:

image.png

A project that utilizes several text manipulation services can be built as such:

image.png

Service Order

It is important that Profanity Filter node is used after the Normalizer and Punctuation nodes. Otherwise, the filtered asterisks will be seen as punctuation by the other services and be manipulated as such.

Supported flow types

Stream, Batch

Release Notes

v4.0.0
  • Removed the address field.
v1.0.0
  • Introduced node.

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.