It is the ability of a machine to identify the words in a spoken language and covert into them to a text format using Python. In this module we are doing with the help of Speech_Recognition
pip install speechrecognition
Pyaudio is used for to accept the input as audio format from the default microphone
pip install pyaudio
import speechrecognition in module
import speech_recognition
Assign the speech_recognition.recognizer to a variable
var=speech_recognition.Recognizer()
Set the pre-recorded file as source
with SRg.Microphone() as source
define the time limit and convert the speech
record(source,duration=3)
Submitted by Yerra Vijay Sai (vijaysai)
Download packets of source code on Coders Packet
Comments