Copyright © 2017, edureka and/or its affiliates. All rights reserved.
How It Works?
Installing Speech Recognition In Python
Working With Microphones
Installing Pyaudio In Python
Use Case
www.edureka.co/python
www.edureka.co/python
www.edureka.co/python
Speech Text
www.edureka.co/python
Challenges Faced By Speech Recognition
• Style Of Speaking
• Task Specifiers
• Environment
• Speaker Characteristics
www.edureka.co/python
A little runback to history
Radio Rex – frequency prototype
Shoebox – Isolated Word Recognition
HARPY – Connected Speech
Deep Neural Network Based Systems
www.edureka.co/python
Following are the packages which can be used for speech recognition in python.
apiai
assemblyai
Google-cloud-speech
SpeechRecognition
Pocketsphinx
Watson-developer-cloud
wit
www.edureka.co/python
www.edureka.co/python
$ pip install SpeechRecognition
Recognizer class
www.edureka.co/python
Recognizer class basically has instances which are used to recognize speech. Each instance has seven
methods to recognize speech from any audio source using various APIs.
recognize_bing( )
recognize_sphinx( )
recognize_wit( )
recognize_ibm( )
recognize_houndify( )
recognize_google_cloud( )
recognize_google( )
www.edureka.co/python
www.edureka.co/python
To work with microphones we will have to install PyAudio package in python.
Microphone class
To record audio using the microphone
we will have a microphone class.
www.edureka.co/python
www.edureka.co/python
Installing pyaudio works the same way as any other module in python.
$ pip install PyAudio
www.edureka.co/python
www.edureka.co/python
We will make a program using the speech recognition python to execute the
following:
* Converting speech to text using speech recognition
* Using the text to open a URL using web browser
* Searching a query using speech inside the URL
Copyright © 2017, edureka and/or its affiliates. All rights reserved.
www.edureka.co
www.edureka.co/python

Speech Recognition Using Python | Edureka