Live data from Hacker News

Voice Recognition and Text to Speech in Python

ggulati.wordpress.com

11–20 of 53 posts

Re: Voice Recognition and Text to Speech in Python

#12

Does this work without an internet connection (once downloaded)? If yes, How big is the downloaded footprint? I still haven't gone through the webpage carefully.

No, except for the stt part using sphinx, which is tricky to set up for it to be accurate enough (seems the author of the op didn't go that far)

Re: Voice Recognition and Text to Speech in Python

#13

It really would be amazing to be able to get voice recognition software that covers at least recognizing a small enough fraction of our language to be useful without having to reach the cloud. It is definitely a dream I hope we one day achieve, thanks for the article, will test it on my day off and play with it a bit.

> It really would be amazing to be able to get voice recognition software that covers at least recognizing a small enough fraction of our language to be useful without having to reach the cloud.

Are there any academic groups working on this topic, and do they have prototype implementations?

Re: Voice Recognition and Text to Speech in Python

#14

Does this work without an internet connection (once downloaded)? If yes, How big is the downloaded footprint? I still haven't gone through the webpage carefully.

There is project Sirius which does it, take a look

http://sirius.clarity-lab.org/category/watch/

Re: Voice Recognition and Text to Speech in Python

#15

Does this work without an internet connection (once downloaded)? If yes, How big is the downloaded footprint? I still haven't gone through the webpage carefully.

If you use Sphinx for speech recognition and use pyttsx for text to speech (Windows Speech API, OSX NSSS, or ESpeak on Linux) it all works offline - see the "Jarvis's Brain" section.

Re: Voice Recognition and Text to Speech in Python

#16

It really would be amazing to be able to get voice recognition software that covers at least recognizing a small enough fraction of our language to be useful without having to reach the cloud. It is definitely a dream I hope we one day achieve, thanks for the article, will test it on my day off and play with it a bit.

There are plenty of those. Voice recognition is nothing new—I remember playing around with "speakable items" back in Mac OS 7 . It did well enough to recognize certain key words and phrases.

No kidding. I had a toy "robot" that responded to 4 or 5 voice commands when I was a child in the late 80s...

Re: Voice Recognition and Text to Speech in Python

#18

It really would be amazing to be able to get voice recognition software that covers at least recognizing a small enough fraction of our language to be useful without having to reach the cloud. It is definitely a dream I hope we one day achieve, thanks for the article, will test it on my day off and play with it a bit.

> It really would be amazing to be able to get voice recognition software that covers at least recognizing a small enough fraction of our language to be useful without having to reach the cloud.

Well, I guess at some point this functionality will become part of the OS. When OSX and Windows offer this, then Linux cannot stay behind, and we will see open source speech recognition libraries.

Re: Voice Recognition and Text to Speech in Python

#19

Microsoft's translation API has 1 million characters/month free version for text to speech with male/female voice. It is good enough quality and a good start for those who can not afford paying for Google's API.

Just checked, it's 2 Million character/month for free.

Re: Voice Recognition and Text to Speech in Python

#20
FWIW, IBM has a wonderful speech to text API...I've put together a repo of examples and Python code:

https://github.com/dannguyen/watson-word-watcher

One of the great things about it is its word-level time stamp and confidence data that it returns...here's a few super cuts I've made from the presidential primary debates:

https://www.youtube.com/watch?v=VbXUUSFat9w&list=PLLrlUAN-Lo...

It's not perfect by any means, but the granular results give you a place to start from...here's a super cut of cuss words from a well known episode of The Wire...only 59 such words were heard by Watson even though one scene contains 30+ F-bombs alone:

https://www.youtube.com/watch?v=muP5aH1aWUw&feature=youtu.be

The service is free for the first 1000 minutes each month.

Post reply on HN