Swear Word Filter
Swear Word Filter
You can filter out a preset list of offensive words ("swear words") from English transcriptions. After the transcript is produced, the swear word filter redacts words on the disallowed list with "..." . Download the list of disallowed words here.
How to Use It
To enable the swear word filtering, configure the media post configuration with the swearFilter parameter set to true
in the "transcript"
section:
{
"transcript": {
"contentFiltering": {
"enableProfanityFiltering": true
}
}
}
Examples
** Note: Export your api TOKEN
prior to running the following example.
export TOKEN='Your Api Token'
Enable the swear word filter
curl https://apis.voicebase.com/v3/media \
--form [email protected] \
--form configuration='{
"transcript": {
"contentFiltering": {
"enableProfanityFiltering": true
}
}
}' \
--header "Authorization: Bearer ${TOKEN}"
Updated over 3 years ago