Is it possible to implement Speech to text conversion in Python? If yes, how? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is it possible to implement Speech to text conversion in Python? If yes, how?

Usage of Google Speech API is well appreciated. A detailed and error free code is very much appreciated. :)

5th May 2017, 6:02 PM
G P
G P - avatar
2 Answers
+ 2
If not installed, everything in the library will still work, except calling recognizer_instance.recognize_google_cloud will raise an RequestError. According to the official installation instructions, the recommended way to install this is using Pip: execute pip install google-api-python-client (replace pip with pip3 if using Python 3). Alternatively, you can perform the installation completely offline from the source archives under the ./third-party/Source code for Google API Client Library for Python and its dependencies/ directory.
6th May 2017, 9:38 AM
Jackson Alappatt
Jackson Alappatt - avatar
0
if you want to use the Google Cloud Speech API (recognizer_instance.recognize_google_cloud
6th May 2017, 9:38 AM
Jackson Alappatt
Jackson Alappatt - avatar