/plushcap/analysis/assemblyai/filter-profanity-audio-files-python

Filter profanity from audio files using Python

What's this blog post about?

This tutorial teaches how to use Python to filter profanity from audio files using the AssemblyAI API. First, install the assemblyai package and set up an environment variable for your API key. Next, transcribe the audio file with profanity filtering enabled by creating a TranscriptionConfig object and passing it into a Transcriber object. Finally, print the filtered text. The transcript contains additional information like word-level timestamps which can be accessed through the object's attributes.

Company
AssemblyAI

Date published
May 22, 2024

Author(s)
Ryan O'Connor

Word count
589

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.