Menu

"etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65.

Help
2019-01-15
2019-01-15
  • Shivam Sharma

    Shivam Sharma - 2019-01-15

    Hi There,

    I am trying sphinxtrain to improve accuracy of speechrecognition. I have arranged the file and data needed.
    as per the tutorial at website the time I run sphinxtrain -t modal setup it is creating sphinx_train.cfg but still while I run it says not found.I have attached the image for reference and also the the text version of error is as below:

    Sphinxtrain path: /usr/local/lib/sphinxtrain
    Sphinxtrain binaries path: /usr/local/libexec/sphinxtrain
    Running the training
    do "etc/sphinx_train.cfg" failed, '.' is no longer in @INC; did you mean do "./etc/sphinx_train.cfg"? at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/../lib/SphinxTrain/Config.pm line 65.
    Configuration (e.g. etc/sphinx_train.cfg) not defined
    Compilation failed in require at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.
    BEGIN failed--compilation aborted at /usr/local/lib/sphinxtrain/scripts/000.comp_feat/slave_feat.pl line 51.

    Also I have tried installing form the sourceforge as tar.gz and after that git not sure what I am doing wrong. If try running the pcoket sphinx from the terminal it is working fine and detecting watever I say (not accurate)

    Please suggest.

     
  • Shivam Sharma

    Shivam Sharma - 2019-01-15

    As suggested by @Nikolay. I cloned the setup from github and it worked.

    Thanks :)

     

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.