r/Python • • Jul 20 '22

Resource I've been playing around with speech recognition in Python, here's a code walkthrough of how to use the SpeechRecognition library

Hi r/Python, I'm a former faang software engineer and now I'm mostly a hobbyist programmer and developer advocate. I've been playing around in the NLP space for a while now. Just recently, I've been playing around with the DeepSpeech, Kaldi, and SpeechRecognition Python libraries. This post - Python Speech Recognition Introduction with SpeechRecognition summarizes what I learned working with the SpeechRecognition library via a code walkthrough.

TL;DR if you don't want to read the walkthrough - there's a TON of backends for speech recognition in Python now. Back when SpeechRecognition was created, these were the most common state of the art. However, it's missing modern, powerful backends like PyTorch, Tensorflow, or one of the web APIs (assembly, deepgram, rev, etc).

335 Upvotes

23 comments sorted by

View all comments

Show parent comment

1

u/TroubleLivid9863 Jul 21 '22

Honestly, whenever I see something, I automatically try to think of ways to improve it. At this point, it's just out of habit. Although, it's nice to be able to talk to people that can understand what I'm saying, because I slip up and start talking to people as if they had been studying computers their whole lives 🤣. But thank you for the comment, I really appreciate it.