Speech-to-Text
IBM Watson
2 min readSep 30, 2021
Recently I have used IBM Watson for speech-to-text, how I used it is as follows:
Installation
pip install --upgrade ibm-watsonpip install --upgrade watson-developer-cloudsudo -H pip install --ignore-installed six ibm-watson
Getting credentials
- Go to https://www.ibm.com/cloud/watson-speech-to-text
- Choose to Get started free
- Choose the Lite plan
- Login
- Choose Create
- Go to the Manage option on the left-hand side and copy the API key.
The Code
I have used the following file by replacing my API key and changing the input audio file.
It provides the output including the start and end of each word along with confidence. It also provides the complete script along with the overall confidence.