Menu

A problem

Help
2003-04-09
2012-09-22
  • Graham Abbott

    Graham Abbott - 2003-04-09

    I've built the library and installed it but whenever I try to use it i get the following error:

    sphinx2-simple:
      Demo CMU Sphinx2 decoder called with command line arguments.
     
    <executing /usr/local/bin/sphinx2-continuous, please wait>
    A/D library not implemented
    ad_open_sps failed

    Anyone have any ideas?

    I'm running Mac OS X 10.2.4
    Has anyone else used sphinx with Mac os X?

    Thanks

     
    • Dirk Schnelle-Walka

      Hi,

      if you look into the source code and the Makefiles you'll find the solution.

      If no audio library is detected the basic implentation of src/libsphinxad/ad_bas.c is used.
      There the functions return after saying not implemented.

      To fix this, you'll have to write an implementation of an audio driver for spinx on Mac OS X. As far as I can see there is no suitable file in libsphinxad.

      After that you have to edit the configure script. There is a section selecting ad_files (the fieles mentioned above) and the ad_libs.
      This defaults to empty stings saying
      No audio interface for host...
      This should have happened when you ran that script.

      Hope that helps a bit.

      /Dirk

       

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.