annyang icon indicating copy to clipboard operation
annyang copied to clipboard

Annyang! Cordova

Open ardakazanci opened this issue 7 years ago • 6 comments

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 avatar Jun 27 '17 09:06 ardakazanci

Please show an example.

ardakazanci avatar Jul 04 '17 10:07 ardakazanci

@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.

macdonst avatar Sep 27 '17 17:09 macdonst

@macdonst can you confirm latest ios works?

kiralikbeyin avatar Oct 03 '17 16:10 kiralikbeyin

@ardakazanci boşver bu kazmalarla uğraşma hem ios hem android https://ourcodeworld.com/articles/read/534/how-to-add-a-language-that-is-not-totally-supported-by-artyom-js

Artyom.js

kiralikbeyin avatar Oct 03 '17 17:10 kiralikbeyin

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.

lesliepound avatar Mar 28 '18 15:03 lesliepound

@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.

macdonst avatar May 13 '18 20:05 macdonst