Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.
https://pypi.python.org/pypi/SpeechRecognition/
BSD 3-Clause "New" or "Revised" License
8.42k stars 2.4k forks source link

recognize_google returns RequestError #433

Open Ganofins opened 5 years ago

Ganofins commented 5 years ago

Google Speech Recognition is returning

RequestError("recognition connection failed: {}".format(e.reason)) speech_recognition.RequestError: recognition connection failed: [Errno -2] Name or service not known

internet is working

I am using it with multi threading, I am processing multiple audio files (like more than 10) at a time Is that the cause of this problem?

shafaypro commented 5 years ago

Might be the function changed to recognize_google_cloud() as the function has been deprecated.