Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Speech processing library in Python for speech to text

Hey I am looking to build a code in python which will recognise what i speak through the micrphone and convert to speech, can you please give me few effcient speech processing libraries for achieving the same??

like image 398
nis Avatar asked Feb 02 '11 11:02

nis


People also ask

Which of the libraries is used in Python to convert speech to text?

Microphone speech into text We need to install PyAudio library which used to receive audio input and output through the microphone and speaker.

Which Python library is used for speech recognition?

This can be done with the help of the “Speech Recognition” API and “PyAudio” library. Speech Recognition API supports several API's, in this blog I used Google speech recognition API. For more details, please check this. It helps to translate for converting speech into text.

How do you implement speech to text in Python?

Translation of Speech to Text: First, we need to import the library and then initialize it using init() function. This function may take 2 arguments. After initialization, we will make the program speak the text using say() function. This method may also take 2 arguments.

How do I install the Python speech recognition package?

First, make sure you have all the requirements listed in the “Requirements” section. The easiest way to install this is using pip install SpeechRecognition. Otherwise, download the source distribution from PyPI, and extract the archive. In the folder, run python setup.py install.


1 Answers

See pyspeech (python) - Transcribe mp3 files?

which talks about http://code.google.com/p/pyspeech/. You may also want to look at http://code.google.com/p/dragonfly/

like image 92
Michael Levy Avatar answered Oct 21 '22 13:10

Michael Levy