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.

On Mon, Nov 10, 2014 at 12:45 AM, Nick Alexander <[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
>
> -------- 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]>
> To:     Nick Alexander <[email protected]>
> CC:     [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
> [2]
> 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]>> 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]>
>     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

Reply via email to