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

Annyang! Cordova #296

Open
ardakazanci opened this issue Jun 27, 2017 · 6 comments
Open

Annyang! Cordova #296

ardakazanci opened this issue Jun 27, 2017 · 6 comments

Comments

@ardakazanci
Copy link

Hi,

Has anyone tried to use annyang ? i've tried but doesn't seem to work, or maybe it's just that i did it wrongly.
So, if you have tried maybe you can show me some example on how to use this on cordova ?

@ardakazanci
Copy link
Author

Please show an example.

@macdonst
Copy link

@ardakazanci if you want to use Annyang with Cordova you will need to add in the speech rec plugin.

https://github.com/macdonst/SpeechRecognitionPlugin

Then the web speech API should be available for annyang to use.

@kiralikbeyin
Copy link

@macdonst can you confirm latest ios works?

@kiralikbeyin
Copy link

@lesliepound
Copy link

lesliepound commented Mar 28, 2018

Attempting to use annyang with cordova speech recognition plugin
https://github.com/pbakondy/cordova-plugin-speechrecognition

Specifically to support Android. It does not work. Here's why .

Annyang uses Web Speech Recognition (which is built into Chrome and Firfeox).
https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API

The Cordova SpeechRecogntion plugin does not. For Android, it uses Google's Cloud Speech API -https://cloud.google.com/speech/

If anybody has an annyang text -> command work around, love to hear it.

@macdonst
Copy link

@lesliepound try this one: https://www.npmjs.com/package/phonegap-plugin-speech-recognition which is based on the web speech api and uses the Android speech rec package.

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

4 participants