Menu

decoding issue with the tutorial

Help
lynucs
2007-11-08
2012-09-22
  • lynucs

    lynucs - 2007-11-08

    Hello,

    It is my first try by following the tutorial.
    I tried with an4 and rm1 test data but it failed.

    When i want to start a decoding i have this message:

    $ perl scripts_pl/decode/slave.pl
    MODULE: DECODE Decoding using models previously trained
    Decoding 600 segments starting at 0 (part 1 of 1)
    0%
    Can't open /home/laurent/Dev/tutorial/rm1/result/rm1-1-1.match
    SENTENCE ERROR: 100.000% (600/600)

    If anyone can help me?
    Regards,
    Laurent

     
    • Nickolay V. Shmyrev

      Something went wrong during decoding. For more information please look into the log in logdir/decode. Probably you forgot to copy sphinx3_continuous into bin directory, it's important to have a decoder in bin.

       
    • lynucs

      lynucs - 2007-11-08

      I have this message in logdir/decode:

      /home/laurent/Dev/tutorial/rm1/bin/.libs/lt-sphinx3_decode: error while
      loading shared libraries: libsphinxutil.so.0: cannot open shared object file: No
      such file or directory
      Thu Nov 8 19:41:42 2007

      To compile sphinx3, you need sphinxbase (not explained in the tutorial).
      I have compiled sphinx3 (make & make install). After i was able to compile sphinx3.

      This library is installed in /usr/local/lib but the decode program doesn't try to reach this lib to this location.

      I continue my investigation....

      Regards,
      Laurent

       
      • Nickolay V. Shmyrev

        type before starting the decode

        export LD_LIBRARY_PATH=/usr/local/lib

        or add /usr/local/lib as a line in /etc/ld.so.conf and run /sbin/ldconfig after that

        or

        configure sphinxbase with --prefix=/usr and install it then

        or

        use precompiled sphinxbase package if you are running Ubuntu

         

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.