Menu

Help in Forced Alignment in Sphinxtrain run and my WER is so high with 50%+

Help
JCabs
2017-06-19
2017-06-19
  • JCabs

    JCabs - 2017-06-19

    Hi, I would like to ask what are the possible solutions that can be done in my situation

    I have run "sphinxtrain run" first without forced alignment set to yes and I got 59.4% WER which is very high.

    Then I reconfigured my config file to set the forced alignment to on and there is an erorr or warning saying.

    "Training for 8 Gaussian(s) completed after 5 iterations
    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 tried copying the sphinx3_align from usr/lib/bin to /usr/local/libexec/sphinxtrain but it got an error telling me that permission denied or I can't copy paste the sphinx3_aligh into usr/local/libexec/sphinxtrain.

    I hope someone would answer and give solution not too long because I need to finish this project as soon as possible

    Thanks a lot!

     
    • Nickolay V. Shmyrev

      but it got an error telling me that permission denied or I can't copy paste the sphinx3_aligh into usr/local/libexec/sphinxtrain.

      Learn about Unix permissions.

       
      • JCabs

        JCabs - 2017-06-19

        Sorry, I'm just new in using Unix.
        Thank you in answering my question so fast. I'm in understanding Unix commands and I'll update later what will be the result if I will be able to copy it. Thanks a lot Nickolay V. Shmyrev.

         
  • JCabs

    JCabs - 2017-06-19

    I think I copied the sphinx3_align. I tried running sphinxtrain run and got another error states that

        /usr/local/libexec/sphinxtrain/sphinx3_align: error while loading shared libraries: libs3decoder.so.0: cannot open shared object file: No such file or directory
    

    What did I do wrong in the setting up or configuring either the libraries or the directories? What is probably missing to run the forced alignment normally?

    I'm sorry I question too much. I just want to learn how to run the forced alignment and see if it can lessen my WER. I appreciate your quick response and look forward for your help.

     
    • Nickolay V. Shmyrev

      Google for "error while loading shared libraries"

       
      • JCabs

        JCabs - 2017-06-20

        Thank you Sir Nickolay, I'll Google it. I'll ask more whenever I encountered any errors.

        Thank you for your patience in teaching me and I'm learning how pocketsphinx or CMU Sphinx really works. This is my first time building an ASR and I'm enjoying it. I'll tell the result If I run it successfully.

        Best regards,
        JCabs

         

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.