how to have offline speech recognition

1,078 views
Skip to first unread message

pradeep goel

unread,
Mar 16, 2015, 8:58:02 PM3/16/15
to mitappinv...@googlegroups.com

hi,

i want to ask how i can have offline speech recognition app that work without internet.

Greg Jensen

unread,
Mar 17, 2015, 11:36:58 AM3/17/15
to mitappinv...@googlegroups.com
This is an operating system feature/setting

JellyBean 4.1 and up supports it. There is probably a way to use AI's Activity Starter component to give your user a quick shortcut to the setting.
It can't be specifically set in AI.

Enis

unread,
Mar 17, 2015, 12:02:53 PM3/17/15
to mitappinv...@googlegroups.com
As Greg said, Speech Recognition is an OS feature... It's ALWAYS there on your device, and doesn't require the device to be online to use it.

pradeep goel

unread,
Mar 17, 2015, 1:54:31 PM3/17/15
to mitappinv...@googlegroups.com
thanks sir for your reply, if i make android app for speech Recognition  using MIT app inventor then will it use offline speech Recognition ?

SteveJG

unread,
Mar 17, 2015, 1:59:36 PM3/17/15
to mitappinv...@googlegroups.com
Here is a complete Speech Recognizer app.




Code it, create the apk.  Install it on your phone/tablet.   Try the while your device is connected to the Internet.   Try it when not connected.

What happens?      Tell us.

Regards,
Steve

pradeep goel

unread,
Mar 17, 2015, 3:08:30 PM3/17/15
to mitappinv...@googlegroups.com
in online mode it is saying cant reach Google at the moment try again.

in offline mode it is saying offline mode unavailable. 

SteveJG

unread,
Mar 17, 2015, 4:59:19 PM3/17/15
to mitappinv...@googlegroups.com
I just tested the code here.on a Samsung Tab II .    The Speech Recognizer works BOTH using WIFI and also with turning off the WIFI (internally).  The tablet uses Android 4.2.2 

Are you using a phone ?  What operating system.     How are you connected to the Internet .... WIFI  or a G3 network or something else?      

I do not get the error messages you get.     What do your blocks look like?   The code is very simple, but perhaps you made a coding mistake?      Another possibility is that your device does not have the internal SR software from Google.     You get a message saying you can not reach Google ...so just try again.  Can you access Web pages using your browser?  

Regards,
Steve
Reply all
Reply to author
Forward
0 new messages