Dear Giorgio, This is the italian section of the Forum do you like to continue with the threads in Italian ? For English support, please use this forums : https://learn.microsoft.com/en-us/answers/questions/ Best regards, Nikola Kochmalarski
How to disable Automatic Punctuation from Azure Speech recognition
I'm using Azure STT service, and My goal is to disable the Automatic Punctuation from regognized results.
I'm using continuous Recognition from continuous Streaming source with following code:
//Initialize the Stream Handling PullAudioInputStreamCallback derived class
var audioStream = new VoiceAudioStream();
// Initialize with the format required by the Speech service
var audioFormat = AudioStreamFormat.GetWaveFormatPCM(8000, 16, 1);
// Configure speech SDK to work with the audio stream in right format.
var audioConfig = AudioConfig.FromStreamInput(audioStream, audioFormat);
// Get credentials and region from client's message.
var speechConfig = SpeechConfig.FromSubscription(key, region);
speechConfig.SpeechRecognitionLanguage = "it-IT";
speechConfig.EnableDictation(); //<- Dictation Mode
// With all the info at hand, finally create the SpeechRecognizer instance.
var speechClient = new SpeechRecognizer(speechConfig, audioConfig);
stopRecognition = new TaskCompletionSource
2 risposte
Ordina per: Più utili
-
Nikola Kochmalarski (Convergys Corporation) 675 Punti di reputazione Fornitore Microsoft
2024-01-29T06:19:42.0733333+00:00 -
navba-MSFT 27,185 Punti di reputazione Dipendente Microsoft
2024-01-30T05:27:00.92+00:00 @PieroFida Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
.
Could you please try to upgrade your
Microsoft.CognitiveServices.Speech
SDK to the most recent version (1.34.1) and check if that helps ?https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech/1.34.1
. ** Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.