Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative for Google Web Speech API #5

Open
anujssmishra opened this issue Jul 3, 2018 · 1 comment
Open

Alternative for Google Web Speech API #5

anujssmishra opened this issue Jul 3, 2018 · 1 comment

Comments

@anujssmishra
Copy link

"Caution: The default key provided by SpeechRecognition is for testing purposes only, and Google may revoke it at any time. It is not a good idea to use the Google Web Speech API in production. Even with a valid API key, you’ll be limited to only 50 requests per day, and there is no way to raise this quota. Fortunately, SpeechRecognition’s interface is nearly identical for each API, so what you learn today will be easy to translate to a real-world project."

Sir, since the Google Web Speech API cannot be used in production, what is the alternative for it? I mean how can I use the speech recognition then?

@somacdivad
Copy link
Contributor

somacdivad commented Jul 7, 2018

@anujssmishra There are several alternatives listed in the article. For example, the Google Cloud Speech API.

The SpeechRecognition package supports most of the basic functionality of this API. You can find a short example in the SpeechRecognition docs here.

To use the Google Cloud Speech API, as well as the others listed in the article, you will need to sign up for an account. For Google, this means providing a valid credit card number, although you are given $300 of credit to start with good for up to 1 year, and you are charged nothing until either the $300 are used, or 1 year has passed, whichever comes first.

The process for obtaining credentials from each API provider varies, so you'll have to read their docs.

In the future, I may update the existing article, or write a new one, that describes how to obtain credentials and perform more complex speech recognition tasks. I'd love to hear any suggestions you may have on topics you'd like to learn about!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants