Open In App

Introduction and Installation of Uberi/Speechrecognition in Python

One of the best library for speech recognition in Python and uses various engines and API to perform speech recognition online as well as offline. Installation Use this command in cmd or terminal make sure Python is installed and Python path is also stored in pc.

pip install speechrecognition

OR Download resources from PyPI and extract it in a folder and then run following command in cmd or terminal.

python setup.py install

Prerequisites

pip install pyaudio
sudo apt-get install python-pyaudio python3-pyaudio
pip install virtualenv
virtualenv 
\Scripts\activate
\Scripts\pip.exe install google-api-python-client
pip install virtualenv
virtualenv 
\Scripts\activate
\Scripts\pip.exe install google-api-python-client

git clone –recursive –depth 1 https://github.com/cmusphinx/pocketsphinx-python

python setup.py install
pip install pocketsphinx 
pip3 install pocketsphinx
Article Tags :