Share via


EmbeddedSpeechConfig.SetProfanity(ProfanityOption) Method

Definition

Sets the profanity option. This can be used to remove profane words or mask them.

public void SetProfanity (Microsoft.CognitiveServices.Speech.ProfanityOption profanity);
member this.SetProfanity : Microsoft.CognitiveServices.Speech.ProfanityOption -> unit
Public Sub SetProfanity (profanity As ProfanityOption)

Parameters

profanity
ProfanityOption

Profanity option value.

Applies to