Slimming down your app

Home Forums OpenEars Slimming down your app

Viewing 1 post (of 1 total)

  • Author
  • #1018150
    Halle Winkler

    In order to make OpenEars as easy to integrate as possible, the tutorial has you import all of the voices and acoustic models into your app, but it isn’t necessary to ship with them all and these instructions are to help you keep your app lean and mean so it’s an easy download for your customers.

    These are the steps to take once you have your app working as designed:

    1. Turn on “Deployment Postprocessing” in Build Settings for your target.
    2. If you are only using FliteController, remove any acoustic model bundles you imported (they begin with AcousticModel and end with the suffix .bundle).
    3. If you are only using PocketsphinxController, remove any voice frameworks you’ve added such as Slt.framework.
    4. If you are only doing speech recognition in English, remove AcousticModelSpanish.bundle, and if you are only doing speech recognition in Spanish, remove AcousticModelEnglish.bundle
    5. If you are using NeatSpeech, remove any voice frameworks you aren’t using. If you aren’t using Spanish voices, you can remove RequiredSpanishData.bundle. If you aren’t using UK voices, you can remove RequiredUKEnglishData.bundle. If you aren’t using US voices you can remove RequiredUSEnglishData.bundle.
    6. One last step is if you originally integrated OpenEars using a pre-1.5 version, but you are now using 1.5 or newer, you may have some extra files in your mainBundle from your previous installation. These files can be safely removed from your project (unless they reside within AcousticModelEnglish.bundle or AcousticModelSpanish.bundle within your project, in which case they are part of your 1.5 install and must be left alone):


    If you have any questions about this or if following these steps led to any unexpected outcomes, just come on by the forums and say hi and I will try to help.

Viewing 1 post (of 1 total)
  • The topic ‘Slimming down your app’ is closed to new replies.