You are right Nick. You already have some kind of panel or screen where the user can download and install this kind of stuff (dictionaries for his language)?
Thanks Andre On Nov 9, 2014 9:21 PM, "Nick Alexander" <[email protected]> wrote: > On 2014-11-09, 6:54 PM, Andre Natal wrote: > >> >> Nick, >> >> actually what I said was the models won't be ship, but the user will >> choose or not to download the models to enable speech api in his >> language in a separate panel inside the app. >> > > Hey! Sorry to mis-represent you, it was not my intent. > > I meant that we shouldn't ship the models; I definitely think we should > ship the API (when it's ready). For Fennec, that will mean putting some > effort into distributing the downloadable assets. > > If I'm still getting it wrong, please follow up. > > Nick > > On Mon, Nov 10, 2014 at 12:45 AM, Nick Alexander <[email protected] >> <mailto:[email protected]>> wrote: >> >> Forwarding to mobile-firefox-dev, since I think we should care about >> this. >> >> Andre's initial estimate is that the Web Speech API adds perhaps >> 9-10 megs to our APK. I don't think we can ship this; I think we >> need to invest in distributing these additional pieces separate of >> the main APK. We're getting quite a list of additional content that >> we want to distribute after install; see also [1]. (And I'm sure >> there are others.) >> >> Nick >> >> [1] https://bugzilla.mozilla.org/__show_bug.cgi?id=1095719 >> <https://bugzilla.mozilla.org/show_bug.cgi?id=1095719> >> >> -------- Original Message -------- >> Subject: Re: Intent to ship: Web Speech API - Speech >> Recognition with >> Pocketsphinx >> Date: Sun, 9 Nov 2014 02:20:50 -0200 >> From: Andre Natal <[email protected] <mailto:[email protected]>> >> To: Nick Alexander <[email protected] >> <mailto:[email protected]>> >> CC: [email protected] >> <mailto:[email protected]> >> >> >> >> >> Thanks Nick, I appreciate your help. >> >> I created two versions of Fennec apk: one [1] with the english models >> bundled (43.7 mb), and other [2] without it (34.6mb). This was the >> mozconfig I used [3] >> >> Actually, I had a conversation with Jonas Sicking some months ago and >> we >> agreed that the ideal scenario about this is to allow the user to >> download the package for the language he prefer from some sort of >> preferences screen, instead ship them bundled into the apk. >> >> >> [1] >> https://www.dropbox.com/s/__6snv6e3mqqcs4zi/fennec-34.0a1. >> __en-US.android-arm.apk?dl=0 >> <https://www.dropbox.com/s/6snv6e3mqqcs4zi/fennec-34.0a1. >> en-US.android-arm.apk?dl=0> >> [2] >> https://www.dropbox.com/s/__zxxop34unj21r1s/fennec-35.0a1. >> __en-US.android-arm.apk?dl=0 >> <https://www.dropbox.com/s/zxxop34unj21r1s/fennec-35.0a1. >> en-US.android-arm.apk?dl=0> >> [3] >> #DEBUG >> #ac_add_options --enable-debug >> #ac_add_options --enable-trace-malloc >> #ac_add_options --enable-accessibility >> #ac_add_options --enable-signmar >> ac_add_options --disable-tests >> >> # android options >> ac_add_options --enable-application=mobile/__android >> ac_add_options --with-android-ndk="/Volumes/__extra/android-ndk-r8e/" >> ac_add_options >> --with-android-sdk="/Volumes/__extra/android-sdk-macosx/__ >> platforms/android-19/" >> >> # FOR ARM >> ac_add_options --target=arm-linux-androideabi >> mk_add_options MOZ_OBJDIR=./obj-arm-linux-__androideabi-debug >> >> >> # FOR 386 >> #ac_add_options --target=i386-linux-android >> #mk_add_options MOZ_OBJDIR=./objdir-droid-i386 >> >> On Thu, Oct 30, 2014 at 9:36 PM, Nick Alexander >> <[email protected] <mailto:[email protected]> >> <mailto:[email protected] <mailto:[email protected]>__>> >> wrote: >> >> On 2014-10-30, 4:18 PM, Andre Natal wrote: >> >> I've been researching speech recognition in Firefox for two >> years. First >> SpeechRTC, then emscripten, and now Web Speech API with CMU >> pocketsphinx >> [1] embedded in Gecko C++ layer, project that I had the luck >> to >> develop for >> Google Summer of Code with the mentoring of Olli Pettay, >> Guilherme >> Gonçalves, Steven Lee, Randell Jesup plus others and with the >> management of >> Sandip Kamat. >> >> The implementation already works in B2G, Fennec and all FF >> desktop >> versions, and the first language supported will be english. >> The >> API and >> implementation are in conformity with W3C standard [2]. The >> preference to >> enable it is: media.webspeech.service.____default = >> pocketsphinx >> >> >> First, Andre, let me offer my congratulations on getting this >> project to this point. We've talked a few times and I've always >> been impressed. >> >> Can you point me at Fennec try builds? I vaguely recall that >> these >> speech recognition approaches require large pattern matching >> files, >> and I'd like to see what including the Speech API does to the >> Fennec >> APK size. We're pushing pretty hard on reducing our APK size >> right >> now because we believe it's a big barrier to entry and >> especially to >> upgrading older devices. >> >> Nick >> ___________________________________________________ >> dev-platform mailing list >> [email protected] >> <mailto:[email protected]> >> <mailto:dev-platform@lists.__mozilla.org >> <mailto:[email protected]>> >> https://lists.mozilla.org/____listinfo/dev-platform >> <https://lists.mozilla.org/__listinfo/dev-platform> >> <https://lists.mozilla.org/__listinfo/dev-platform >> <https://lists.mozilla.org/listinfo/dev-platform>> >> >> >> >> >> >> >
_______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

