Best open source libraries for speech to text
Hi there! I am looking for open source libraries for easily converting recorded speech into text. Can you please recommend me some of them? At the same time, I am also looking for some buddies/groups to learn/code/contribute in this field.
Posted Mar 5, 2020, 8:07 PM UTC
186
I looked into this a while back. It's not easy to convert speech to text. You have to train voice models and the processing power to actually convert is substantial.
That said, the best project I could find was Mozilla's DeepSpeech. It has over 13K stars on GitHub. Maybe someone else knows of a better answer?
https://github.com/mozilla/DeepSpeech
Yes, I also found this one and I was planning on playing around with it. From your experience with it, did you build and train your own voice models? Or does the library come with models and you just test them on your own files? Did you run it on your own local machine or did you use a cloud machine?
I ran it on my local machine with the pre-trained voice model. I used it on voice recordings I made without speech-to-text in mind. The vast majority of the transcription was wrong, but some of the words were right and gave me clues to the context of the message. Of course, had I recorded myself more clearly, I may have gotten a better result. It's certainly not going to be perfect or nowhere near as accurate as Google or Alexa.
If it helps, here are my command notes:
Edit: I did the above in a Python virtual environment of course. Also, happy cake day!
You are so awesome. Thanks a lot, I will also give it a try. Oh, yeah, 1 year on Reddit! Time flies when you are having fun.