Filter profanity from audio files using Python
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
Language
English
Hacker News points
None found.