A few lines of code which convert speech to text.
A few lines of code written in python using libraries (SpeechRecognition, PyAudio) that convert speech to text.
In order to run the python script, your system must have the following programs/packages installed.
# Program to convert speech to text
# Author @inforkgodara
import speech_recognition as sr
r = sr.Recognizer()
mic = sr.Microphone()
print('start')
with mic as source:
audio = r.listen(source)
print('end')
print(r.recognize_google(audio))