JigsawStack icon

JigsawStack

Use JigsawStack API

Actions20

Profanity Detection → Profanity Detection

AI-generated

Overview

This node uses the JigsawStack API to perform profanity detection on a given text input. It identifies profane words in the text and replaces them with a specified censor replacement string. This is useful for content moderation, filtering user-generated content, or ensuring compliance with community guidelines by automatically censoring inappropriate language.

Use Case Examples

  1. A social media platform automatically filters and censors profane words in user posts before publishing.
  2. A chat application uses the node to detect and replace offensive language in real-time messages.

Properties

Name Meaning
Text The text to validate for profanity detection.
Censor_replacement The text to replace the profane words with, defaulting to '*'.
Request Options Settings for request behavior including batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • profanityDetected - Boolean indicating if profanity was detected in the input text.
  • censoredText - The input text with profane words replaced by the censor replacement string.
  • profaneWords - List of profane words detected in the input text.

Dependencies

  • JigsawStack API key credential for authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and valid to avoid authentication errors.
  • If the node fails to detect profanity, verify that the input text is correctly passed and not empty.
  • Check network connectivity and proxy settings if requests time out or fail.
  • If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of security risks.

Links

Discussion