How to deactivate automatic punctuation in Speech Recognition ?

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

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.OutputFormat = OutputFormat.Detailed;

// 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 Speech
Azure Speech
An Azure service that integrates speech processing into apps and services.
759 questions
{count} votes