Menu

Switching to fixed point on iPhone

Help
Halle
2010-03-24
2012-09-22
  • Halle

    Halle - 2010-03-24

    Hello,

    I'm using sphinxbase and pocketsphinx .5.1 as cross-compiled static libraries
    for an iPhone project. Speech recognition has been working well but slowly, so
    today I decided to try to get fixed point working and recognition stopped
    working (pocketsphinx using wsj1 recognizes phrases like "A I AM" for all
    input).

    I've added the following definitions to sphinx_config.h:

    define FIXED_POINT

    define SIZEOF_LONG 4

    define HAVE_LONG_LONG

    define SIZEOF_LONG_LONG 8

    These values are based on logging the sizeof() values for these items. I also
    added the "-input_endian", "little" argument to my test function. Am I
    overlooking anything, and how should I proceed with troubleshooting? I
    downloaded the .6 pocketsphinx to compile it according to the new included
    iPhone instructions, but couldn't fine the build_for_iphone.sh script that is
    mentioned in the readme in the package.

    Thank you for any assistance.

     
  • Halle

    Halle - 2010-03-24

    Never mind, got the autogen.sh working.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.