Menu

'corpus.lo' fail by compiling Sphinx3

Help
alejandro
2016-06-13
2016-06-14
  • alejandro

    alejandro - 2016-06-13

    Good afternoon,

    I'd like to force alignment in my training, so I have changed the setting $CFG_FORCEDALIGN from 'no' to 'yes'
    in 'sphinx_train.cfg' file. So, by running the training, the message below pops up:
    ...
    MODULE: 11 Force-aligning transcripts
    Skipped: No sphinx3_align(.exe) found in /usr/local/libexec/sphinxtrain
    If you wish to do force-alignment, please copy or link the
    sphinx3_align binary from Sphinx 3 to /usr/local/libexec/sphinxtrain
    and either define $CFG_MODEL_DIR in sphinx_train.cfg or
    run context-independent training first.

    I've tried to install sphinx3 package, but when I introduce the command "make" in order to compile it, the following error is shown:


    Makefile:390: recipe for target 'corpus.lo' failed
    make[3]: *** [corpus.lo] Error 1
    make[3]: Leaving directory '/prueba1/sphinx3-0.8/src/libs3decoder/libcommon'
    Makefile:475: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/prueba1/sphinx3-0.8/src/libs3decoder'
    Makefile:357: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/prueba1/sphinx3-0.8/src'
    Makefile:480: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1


    Can I solve this problem?

    Thanks in advance

    Alejandro

     
    • Nickolay V. Shmyrev

      You can checkout sphinx3 from subversion

       
  • alejandro

    alejandro - 2016-06-14

    Thank you very much for your quick response!

    I have found a .zip file called 'cmusphinx-code-13215-trunk' which includes the sphinx3 package (version 3.7) and I have decompressed it in the same directory as the other packages (sphinxtrain, sphinxbase...).

    Once finished, I've executed:

    ./autogen.sh
    ./autogen.sh
    ./configure
    make
    make install

    I've tried to carry out the training again, but the following message pops up again:
    ....
    MODULE: 11 Force-aligning transcripts
    Skipped: No sphinx3_align(.exe) found in /usr/local/libexec/sphinxtrain
    If you wish to do force-alignment, please copy or link the
    sphinx3_align binary from Sphinx 3 to /usr/local/libexec/sphinxtrain
    and either define $CFG_MODEL_DIR in sphinx_train.cfg or
    run context-independent training first.
    ....

    I don't know which binary file 'sphinx3_align' it refers to, so I have executed:

    [root@vmfedora23 sphinx3]# find -name sphinx3_align
    ./src/programs/.libs/sphinx3_align
    ./src/programs/.libs/lt-sphinx3_align
    ./src/programs/sphinx3_align
    ./win32/msdev/programs/align/sphinx3_align.vcproj

    Is some of the files above the desired one which I have to copy in /usr/local/libexec/sphinxtrain path?

    Note: By installing the package sphinx3, I have seen some fails by executing make check and I don't know if they are important when progressing with the training:

    PASS: test-decode-simple.sh
    PASS: test-decode-raw.sh
    PASS: test-decode.sh
    PASS: test-decode-clm.sh
    PASS: test-decode-mllr.sh
    PASS: test-decode-s3cont.sh
    FAIL: test-decode-mode1.sh
    FAIL: test-decode-mode2.sh
    PASS: test-decode-s2semi.sh
    PASS: test-decode-lts.sh
    PASS: test-decode-mode3.sh
    PASS: test-decode-2ndstage.sh
    PASS: test-decode-mode1368.sh
    PASS: test-decode-mode1369.sh
    PASS: test-lm_convert-and-decode.sh
    FAIL: test-dp.sh
    FAIL: test-align.sh
    FAIL: test-align-mllr.sh
    FAIL: test-lattice-htk.sh
    FAIL: test-livepretend.sh
    FAIL: test-livepretend-clm.sh
    PASS: test-livepretend-mllr.sh
    PASS: test-livepretend-fsg.sh
    FAIL: test-lm_convert.sh
    FAIL: test-astar.sh
    FAIL: test-astar-clm.sh
    PASS: test-dag.sh
    PASS: test-dag-clm.sh
    FAIL: test-gausubvq.sh
    FAIL: test-ep.sh
    FAIL: test-conf.sh
    PASS: print-summary.sh

    So sorry for the inconveniences and thanks in advance.

    Alejandro

     
    • Nickolay V. Shmyrev

      sphinx3_align is supposed to be installed in /usr/local/bin

       
  • alejandro

    alejandro - 2016-06-14

    Perfect, I found it! Thank you very much

     

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.