Visitar URL original
Alternative for Google Web Speech API · Issue #5 · realpython/python-speech-recognition · GitHub
Skip to content

Alternative for Google Web Speech API #5

Description

@anujssmishra

"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?

Activity

  1. somacdivad commented on Jul 7, 2018

    @somacdivad
    Contributor

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions