6

I have been creating a desktop application using electron, which uses the javascript web speech api. It was working perfectly until the last few weeks. Currently, it does not work. I tried using Nw js and I've also checked it in Chromium browser, where even the default Google's speech api demo site doesn't seem to work.

But it is working perfectly in Google chrome browser. Is google revoking chromium from using the API?

Is there any other option for me to use it in my desktop application. It is essential for my application to work using web technologies only, so I cannot query the actual programmatic API, I need to use the javascript api.

Pavish
  • 141
  • 2
  • 6
  • I am running into the same issue. It seems Google is moving more towards their Cloud Speech API: https://www.chromium.org/developers/how-tos/api-keys – Andrew Lively Apr 11 '16 at 23:15
  • I'm also facing the same issue. It's sad Google suddenly revoked the access without notifying. It's currently working in Chrome app, I'm hoping they will continue providing speech recognition as free service in standard chrome environment. – rnk Apr 16 '16 at 01:42
  • 1
    Such a pity, it worked a few months ago.. I am working on a substitute based on Sphinx (an open-source speech recognition library) to bring back offline web speech recognition to Electron, I will post a real answer once it works – Julian Bilcke Aug 09 '16 at 20:33
  • have you guys had any head way with this issue? Is google going to revoke the speechApi even in the browsers in the future for the api? And @Julian how is you offline lib coming along? Thank you guys in advanced – TheMan68 Nov 11 '16 at 18:03
  • @TheMan68 I tried, but it's complicated: for this to work you need to prepare a dataset with the words you want to recognize. Google solved this with lot of money, time, and gigabytes of models stored on a cloud. – Julian Bilcke Nov 17 '16 at 23:15
  • For reference, here is how they do it with Firefox. My guess is that it includes a dataset of common basic english words. Maybe that's what should be integrated in WebKit too, as it is open-source: https://github.com/mozilla/gecko-dev/tree/86897859913403b68829dbf9a154f5a87c4b0638/dom/media/webspeech/recognition – Julian Bilcke Nov 17 '16 at 23:19
  • Thank you very much for your help. I guess ill just have to wait for the Qt implementation coming soon – TheMan68 Nov 19 '16 at 06:23
  • Your comments were very helpful. Thanks – TheMan68 Nov 19 '16 at 06:24

0 Answers0