How to deactivate automatic punctuation in Speech Recognition ?

Julien S 1 Reputation point
2021-04-29T13:03:34.363+00:00

I use Azure Cognitive Speech Recognition via Speech SDK.
My recognizer is in dictation mode. I want my customers to dictate punctuation.
I see a check box in the speech to text demo web page of Microsoft to disable automatic punctuation and I want to do exactly the same with Speech SDK but I cannot find how.
Can someone help me ?

// Set the Azure recognizer configuration.

speechConfig.SpeechRecognitionLanguage = base.CurrentCulture.Name;
speechConfig.EnableDictation();
speechConfig.OutputFormat = OutputFormat.Detailed;
speechConfig.RequestWordLevelTimestamps();
speechConfig.SetProfanity(ProfanityOption.Raw);

// NOTE: Safe to rely on the audio stream existence since always allocated before this method is called.
this.audioPull = new AudioPull(base.AudioStream);
this.recognizer = new SpeechRecognizer(speechConfig, AudioConfig.FromStreamInput(this.audioPull));

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,392 questions
{count} votes