Speech-To-Text using Python Programming

Original article was published by Sangramsing Kayte on Deep Learning on Medium


Speech-To-Text using Python Programming

Quickstart: pip install SpeechRecognition.
To quickly try it out, run python -m speech_recognition after

installing.
Let’s see an example of converting speech (from an audio file) to text — Step-I: We should have an audio file (.wav file).
In the audio file, I have recorded a story.

Step — II: The below code takes the above file(speech)as input and displays the text as output.