public static class ProfanityTranscriptionFilter.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ProfanityTranscriptionFilter |
build() |
ProfanityTranscriptionFilter.Builder |
copy(ProfanityTranscriptionFilter model) |
ProfanityTranscriptionFilter.Builder |
mode(ProfanityTranscriptionFilter.Mode mode)
MASK : Will mask detected profanity in transcription. |
public ProfanityTranscriptionFilter.Builder mode(ProfanityTranscriptionFilter.Mode mode)
MASK
: Will mask detected profanity in transcription. - REMOVE
: Will
replace profane word with * in transcription. - TAG
: Will tag profane word as
profanity but will show actual word.mode
- the value to setpublic ProfanityTranscriptionFilter build()
public ProfanityTranscriptionFilter.Builder copy(ProfanityTranscriptionFilter model)
Copyright © 2016–2024. All rights reserved.