Use Google Speech Recognition API to convert your speech into text Google Speech recognition automatically recognizes your spoken words and display them in the form of text.
Prerequisites:
Python installed; Google Speech Recognition API installed; Active Internet Connection (The faster the better) Beautiful Soup (bs4) Pyglet GTTS (Google Text to Speech)
Download Python: https://www.python.org/downloads/
Download Goolge SpeechRecognition: https://pypi.python.org/pypi/SpeechRecognition/
OR
Install using PIP:
pip install SpeechRecognition
pip install bs4
pip install pyglet
pip install gtts
pip install pygame
Install all these dependencies and run any of the given programs, that will run Perfectly.