Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,848 Members 36,569 Now Online
XDA Developers Android and Mobile Development Forum

Offline speech recognition

Tip us?
 
BlaMa
Old
#1  
Junior Member - OP
Thanks Meter 5
Posts: 15
Join Date: Jul 2010
Default Offline speech recognition

Hello, yesterday there was released new "Google Now" which allows me to use offline speech recognition and "Say OK Google".
Offline speech recognition language files should by download manualy(many links here on forum) and placed to "data/data/com.google.android.googlequicksearchbox/app_g3_models".

file is available on:
http://ulozto.cz/xbJhyiXu/com-google...ksearchbox-zip

it seems that this file was a leak, because immediately later(during day) was replaced by new one without this ability.
The Following 2 Users Say Thank You to BlaMa For This Useful Post: [ Click to Expand ]
 
Yonohesido
Old
#2  
Yonohesido's Avatar
Junior Member
Thanks Meter 6
Posts: 27
Join Date: Jan 2014
Location: Asturias
It's a debug version released by mistake.
 
mareeck
Old
#3  
mareeck's Avatar
Member
Thanks Meter 6
Posts: 54
Join Date: Oct 2012
Location: Moldova, Cociulia
Quote:
Originally Posted by BlaMa View Post
Hello, yesterday there was released new "Google Now" which allows me to use offline speech recognition and "Say OK Google".
Offline speech recognition language files should by download manualy(many links here on forum) and placed to "data/data/com.google.android.googlequicksearchbox/app_g3_models".

file is available on:
http://ulozto.cz/xbJhyiXu/com-google...ksearchbox-zip

it seems that this file was a leak, because immediately later(during day) was replaced by new one without this ability.
do you have a link to download the english offline speech recognition files please, i've googled it but nothing found, thx
 
BlaMa
Old
#4  
Junior Member - OP
Thanks Meter 5
Posts: 15
Join Date: Jul 2010
Quote:
Originally Posted by mareeck View Post
do you have a link to download the english offline speech recognition files please, i've googled it but nothing found, thx
Try this one:
http://www.mediafire.com/view/8hvhnp...by_arafsheikh)
The Following User Says Thank You to BlaMa For This Useful Post: [ Click to Expand ]
 
warrior1208
Old
#5  
warrior1208's Avatar
Senior Member
Thanks Meter 514
Posts: 307
Join Date: Sep 2013
Location: Delhi
Is this working for you? If yes, then it is AWESOME...
 
BlaMa
Old
#6  
Junior Member - OP
Thanks Meter 5
Posts: 15
Join Date: Jul 2010
Quote:
Originally Posted by warrior1208 View Post
Is this working for you? If yes, then it is AWESOME...
If I configured all locale settings to english then it is working.
The Following User Says Thank You to BlaMa For This Useful Post: [ Click to Expand ]
 
ericch2
Old
(Last edited by ericch2; 18th April 2014 at 02:58 AM.)
#7  
Junior Member
Thanks Meter 0
Posts: 2
Join Date: Apr 2014
Default Languages files..

Quote:
Originally Posted by BlaMa View Post
If I configured all locale settings to english then it is working.
I am trying to have it working offline but I am unable to do it... However, while sneaking around the files I found in:

/data/data/com.google.android.googlequicksearchbox/app_shared_prefs/SearchSettings.bin

that there are some interesting links: (just add http... before... I can't post links since I have less than 10 post ... )) )

cache.pack.google.com/edgedl/android/voice/en-us-v28.zip
cache.pack.google.com/edgedl/android/voice/en-us/manifest_v28.txt
cache.pack.google.com/edgedl/android/voice/en-us-v6.zip
cache.pack.google.com/edgedl/android/voice/de-de-v4.zip
cache.pack.google.com/edgedl/android/voice/cmn-hans-cn-v2.zip
cache.pack.google.com/edgedl/android/voice/cmn-hant-tw-v2.zip
cache.pack.google.com/edgedl/android/voice/en-au-v2.zip
cache.pack.google.com/edgedl/android/voice/en-gb-v2.zip
cache.pack.google.com/edgedl/android/voice/es-es-v2.zip
cache.pack.google.com/edgedl/android/voice/fr-fr-v2.zip
cache.pack.google.com/edgedl/android/voice/it-it-v2.zip
cache.pack.google.com/edgedl/android/voice/ja-jp-v1.zip
cache.pack.google.com/edgedl/android/voice/ko-kr-v2.zip
cache.pack.google.com/edgedl/android/voice/nl-nl-v1.zip
cache.pack.google.com/edgedl/android/voice/pt-br-v1.zip
cache.pack.google.com/edgedl/android/voice/ru-RU-v1.zip



I have downloaded the "fr-fr" language and put it there in my phone:
/data/data/com.google.android.googlequicksearchbox/app_g3_models/fr-FR
ls -la app_g3_models/
drwxr-xr-x root root 2014-04-17 20:40 en-US
drwxrwxrwx root root 2014-04-17 21:03 fr-FR

ls -la app_g3_models/fr-FR/
-rw------- root root 17593952 2014-04-17 21:03 acoustic_model
-rw------- root root 2382016 2014-04-17 21:03 clg
-rw------- root root 2291 2014-04-17 21:03 dictation.config
-r-x------ root root 1357 2014-04-17 21:03 endpointer_dictation.config
-r-x------ root root 1514 2014-04-17 21:03 endpointer_voicesearch.config
-rw------- root root 19808 2014-04-17 21:03 ep_acoustic_model
-rw------- root root 23072 2014-04-17 21:03 lintrans_model
-rw------- root root 36 2014-04-17 21:03 metadata
-rw------- root root 2286144 2014-04-17 21:03 rescoring_lm
-rw------- root root 135184 2014-04-17 21:03 symbols

but I can't use it offline...

Any ideas?

Hope the links will be usefull for some of you.

Eric
 
BlaMa
Old
#8  
Junior Member - OP
Thanks Meter 5
Posts: 15
Join Date: Jul 2010
sorry, maybe there is some another dependency. I am using Ligux ROM and not sure if there is any major different to others.
BTW I removed this feature from my phone, for me is not usefull at all.

Tags
offline speech recognition, say ok google
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


YAATA isn’t Just Another Android Texting App

Although our mobile devices today are capable of executingnearly every task we normally … more

MacroDroid Update Brings Android Wear Automation

A few months ago, we talked about MacroDroid. For those who don’t remember, MacroDroid … more

Droid X Receives KitKat Port, Upcoming Google Glass Firmware Improvements – XDA Developer TV

Android 4.4.3 lands on the European HTC … more

Calc+ is a Smart and Beautiful Android Calculator

As we’ve said inthe past, there are quite a few calculators available on Android. … more