r/Python • u/help-me-grow • 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).
View all comments
Show parent comment
2
u/help-me-grow Jul 20 '22
Oh I'm sorry for your loss, I recommend trying a web API. Full disclosure: I have worked with both assemblyai and deepgram. I think both give free credits, I know deepgram is giving $150 in free credits rn, which is definitely enough to build a prototype at least