Speech Recognition With Python (Summary)
Speech recognition is a deep subject, and what you have learned here barely scratches the surface, but you now have a solid foundation for getting started on your next speech recognition project.
In this course, you learned:
- How speech recognition works
- What speech recognition packages are available on PyPI
- How to install and use the SpeechRecognition package—a full-featured and straightforward Python speech recognition library
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
00:00
Summary. Well done! You’ve made it to the end of the course. In it, you’ve seen how to install the SpeechRecognition package and use its Recognizer
class to easily recognize speech from both a file using .record()
and microphone input using .listen()
.
00:18
You saw how to process segments of an audio file using the offset
and duration
keyword arguments of the .record()
method. You’ve seen the effect noise can have on the accuracy of transcriptions, and have learned how to adjust a Recognizer
instance’s sensitivity to ambient noise with .adjust_for_ambient_noise()
.
00:36
You’ve also learned which exceptions a Recognizer
instance may throw—RequestError
for bad API requests and UnknownValueError
for unintelligible speech—and how to handle these with try
/except
blocks.
00:51 Speech recognition is a deep subject, but the foundations you’ve learned in this course will allow you to investigate further the areas that you’re interested in in this exciting topic. As ever, we hope you found this course useful and that we’ll see you again soon at realpython.com.
Become a Member to join the conversation.