Profanity Filter

PRE-RECORDED
STREAMING

Deepgram’s Profanity Filter feature looks for recognized profanity and converts it to the nearest recognized non-profane word or removes it from the transcript completely.

This feature is available for English only (all available regions).

Use Cases

Some examples of use cases for the profanity filter include:

  • Customers who handle volatile customers and need to remove profanity for training purposes.

Enable Feature

To enable the profanity filter, when you call Deepgram’s API, add a profanity_filter parameter set to true in the query string:

profanity_filter=true

To transcribe audio from a file on your computer, run the following cURL command in a terminal or your favorite API client.

Be sure to replace the placeholder YOUR_DEEPGRAM_API_KEY with your Deepgram API Key. You can create an API Key in the Deepgram Console.

curl

Results

Once applied, results will appear in the transcript.

TruthBefore profanity filterAfter profanity filter
You need my password. Well, s**t. I know I have it here somewhere.You need my password. Well s**t. I know I have it here somewhere.You need my password. Well shut. I know I have it here somewhere.


TruthBefore profanity filterAfter profanity filter
Well d**n it. What am I supposed to do with that information? I mean f**k that’s a f**k ton of information you’re giving me. Holy hell.Well d**n it. What am I supposed to do with that information? I mean f**k that’s a f**k ton of information you’re giving me. Holy hell.Well bam it. What am I supposed to do with that information? I mean that’s a ton of information you’re giving me. Holy hell.

By default, Deepgram applies its general AI model, which is a good, general purpose model for everyday situations. To learn more about the customization possible with Deepgram’s API, check out the Deepgram API Reference.

Share your feedback

Thank you! Can you tell us what you liked about it? (Optional)

Thank you. What could we have done better? (Optional)

We may also want to contact you with updates or questions related to your feedback and our product. If don't mind, you can optionally leave your email address along with your comments.

Thank you!

We appreciate your response.