Menu

PocketSphinx; first run issue

Help
Horizon
2007-10-26
2012-09-22
  • Horizon

    Horizon - 2007-10-26

    Hi,

    I've used s3.4 a fair amount, but this is my first time with s2 stuff (just extrated files from pocket sphinx & compiled in VS 2005). Here goes.. Even after poking around for a while, I'am unable to execute "pocketsphinx_continuous.exe". Here's what is being displayed:

    INFO: .\cmd_ln.c(240): Looking for default argument file: pocketsphinx.args
    INFO: .\cmd_ln.c(243): Can't find default argument file pocketsphinx.args.
    INFO: .\cmd_ln.c(430): Parsing command line:
    pocketsphinx_continuous.exe
    ERROR: ".\cmd_ln.c", line 527: No arguments given, exiting"

    Its pointing to a missing "pocketsphinx.args" file, which I guess is not included in the package. Unfortunately, unlike s3, there are no .bat files... so no idea where to place the .args file in the first place!! Also, what parameters "should" be specified in this file?

    Thanks!

     
    • Horizon

      Horizon - 2007-11-01

      Hi Hannu,

      Thanks for the reply! Before receiving your reply, I did setup a batch-file and all that... but still was getting into different issues {like stat() error and seg fault after processing a few frames}. But looked at your args and saw that you mentioned -hmm as well (something that i ignored coz i thought the mean/var/... paths are anyways being specified).... and bingo - have sphinx ii up and running. Thanks a ton!!

      Another (tool issue) I am running into is being unable to successfully pass the args file to the batch-mode recognizer when running in debug mode from within MS VisualStudio -> proj properties of "pocketsphinx_batch", and specified the location of the args file in the "Configuration Properties> Debugging> Command Arguments" option. Have tried several different ways of specifying the args file, but it keeps saying: "Cannot open configuration file path\xxxxxx.args"

      cheers!

       
      • Hannu Kröger

        Hannu Kröger - 2007-11-01

        You have already checked the location where the application is running? Typically it runs project/Debug where you should use ../path/xxxxx.args to define the directory.

         
    • Hannu Kröger

      Hannu Kröger - 2007-10-28

      You haven't provided any command line parameters. I think you should run one of those scripts like scripts/pocketsphinx_tidigits to run the pocketsphinx.

      Or if you want to poke around, you can run that binary for example like this:

      pocketsphinx_continuous.exe -live yes -fwdflat no -bestpath no -lm model/lm/tidigits/tidigits.lm -dict model/lm/tidigits/tidigits.dic -hmm model/hmm/tidigits

       

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.