Skip to content

Google Speech API is DEPRECATED(?) What next? #17

@bkeating

Description

@bkeating

Discovered this project through a mention in a recent Pycoder's Weekly Newsletter (Issue #147: Top of 2014). I've had Make a personal Jarvis on my list for a long time.

I got Jarvis up and running but Im error-ing out where it gets to the Google Speech API. The service no longer seems to be available and further searching tells me it's limited to 50 queries a day. Bummer, because it seems really great.

The Google Speech API is accessible through x-webkit-speech but this attribute seems to have been deprecated. What a run-around!

So the best I can find, assuming Google Speech API is gone, is the CMU Sphinx project. But sheesh, the Google Speech API seems so simple and offloading.

The way I've thought about Jarvis is; s/he takes on many interfaces. Like Jarvis in Iron Man, he's an intercom in his workshop, or built into his suit; probably other places, too. So maybe the web [browser] isn't a bad place to consider. It's certainly portable and can run on all operating systems.

There is this: https://github.com/Daniel-Hug/speech-input which seems to actually use Google's Speech API. So now I don't know what to think. Amazon's "Alexa" im guess, will be an web service as some point, but I don't want my Jarvis to require amazon, nor google.

The error I'm stuck on:

...
ValueError: No JSON object could be decoded
Error parsing result document: u'  <p>Your client does not have permission to get URL <code>/speech-api/v2/recognize?output=json&amp;lang=en_US&amp;key=*********************************</code> from this server. Invalid key.
...

An actual api key is cited in the actual output but I omitted it here. ¯_(ツ)_/¯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions