When using the Azure Speech SDK (or Speech Studio) to recognize speech in Greek (el-GR
), the recognition process hangs, and after a long time it fails
#2737
Labels
in-review
In review
no reproduce
We cannot reproduce this issue
pending close
Closed soon without new activity
python
Pull requests that update Python code
service-side issue
Issue with
el-GR
language: Speech Recognition canceled: CancellationReason.Error - Client buffer exceeded maximum sizeDescription
When using the Azure Speech SDK to recognize speech in Greek (
el-GR
), the recognition process hangs, and after a long time it fails with the following error:However, when the language is set to English (
en-US
), the recognition process continues as expected (even though the output is english words). This seems to be a bug in the Azure Speech SDK.Also, the same happens in Azure Speech Studio. If you select "Greek" in the languages dropdown and upload an audio file with Greek contents, the process hangs and it does not output any text:
Log file:
STTLogs.txt
Code to Reproduce
Unfortunately GitHub does not allow the uploading of
.wav
files.Describe the bug
A clear and concise description of what the bug is. If things are not working as you expect,
describe exactly what you are getting and why that is not what you expect.
For example, speech recognition "does not work" may mean you got a cancellation
event with a particular error message, or you did not get any recognition events,
or the recognition result you got contains text that does not match what was spoken.
To Reproduce
Steps to reproduce the behavior:
python path/to/AzureSpeechToTextParser.py --file ~/Downloads/test.wav
speech_config.speech_recognition_language = "en-US"
to temporarily make it "work" (even though the output will not be Greek words)Expected behavior
The speech recognition process should work for Greek (el-GR) (it should output Greek phrases), without hanging and without exceeding the client buffer size.
** Actual Behavior**
The speech recognition process fails with the following error:
Version of the Cognitive Services Speech SDK
Platform, Operating System, and Programming Language
The text was updated successfully, but these errors were encountered: