macdonst / SpeechRecognitionPlugin

W3C Web Speech API - Speech Recognition plugin for PhoneGap
MIT License
189 stars 95 forks source link

Offline speech recognition #84

Open jrlandau opened 7 years ago

jrlandau commented 7 years ago

Apparently Android (6) has some speech recognition capability even though offline. When offline, if I create an email, I can enter text by activating the microphone on the keyboard (I use swiftkey), and speaking. Google Search of course does not work. When I try to use this plugin, the "end sound" comes immediately after the "start sounds". I wonder if it would be possible to extend the plugin to use whatever facility Android is using to recognize speech offline?

shsunil commented 7 years ago

I was also searching for a cordova speech recognition plugin which works offline and continuous.. please tell if any.. Thanks.

tlofano commented 7 years ago

Any progress with this? Thanks.

flockf commented 7 years ago

Any ideas about this guys? I am after the same, something that works offline.

jrlandau commented 7 years ago

I'm using "cordova-plugin-speechrecognition" spec="~1.1.2" and find that recognition does work offline, at least my Motorola G4 Android 7 and a cheap LG running Android 6. It is a bit slower and not quite as accurate, but nonetheless vary good.

Does the plugin make a difference? I don't know.

On Fri, Sep 1, 2017 at 4:45 AM, flockf notifications@github.com wrote:

Any ideas about this guys? I am after the same, something that works offline.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/macdonst/SpeechRecognitionPlugin/issues/84#issuecomment-326560185, or mute the thread https://github.com/notifications/unsubscribe-auth/ADxmjFdcDUcXbvONLNjVq-l3EIIaQ0vJks5sd-5rgaJpZM4LO2_j .

flockf commented 7 years ago

@jrlandau

I appreciate your reply! I am looking for anything that works offline. Is this the one that you are using?: https://github.com/pbakondy/cordova-plugin-speechrecognition It mentions in there that it requires an internet connection to work. If it is the same one you are using, do you need to change anything to get it to work offline?

Many thanks for your help.

jrlandau commented 7 years ago

that's the one I am using. Give it a try. Results may depend on the make and model of the phone--I actually do not know why it works.

On Thu, Nov 9, 2017 at 6:13 AM, flockf notifications@github.com wrote:

@jrlandau https://github.com/jrlandau

I appreciate your reply! I am looking for anything that works offline. Is this the one that you are using?: https://github.com/pbakondy/ cordova-plugin-speechrecognition It mentions in there that it requires an internet connection to work. If it is the same one you are using, do you need to change anything to get it to work offline?

Many thanks for your help.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/macdonst/SpeechRecognitionPlugin/issues/84#issuecomment-343166146, or mute the thread https://github.com/notifications/unsubscribe-auth/ADxmjH2vrlxD0tAtQEVq11iNl44FG4udks5s0wh_gaJpZM4LO2_j .

flockf commented 7 years ago

@jrlandau thanks, will give it a try !