Menu

Another Newbie trying to get sphinx to work

Help
2011-01-09
2012-09-22
  • Glenn Duffy

    Glenn Duffy - 2011-01-09

    Hello everyone.

    I know that this has probably been beaten to death, but I'm getting ERROR:
    "acmod.c:", line 84: Must specify -mdef of -hmm when I try to run
    pocketsphinx_continuous. I'm working in a windows environment. I've tried to
    enter the path names of the hidden markov model, language model and
    dictionary, but I am unsure of the syntax to use. Here is what I've tried:

    C:\Documents and Settings\Glenn\My
    Documents\pocketsphinx\bin\Debug>pocketsphinx
    _continuous -hmm C:\Documents and Settings\Glenn\My
    Documents\pocketsphinx\model
    \hmm\en_US\hub4wsj_sc_8k -lm C:\Documents and Settings\Glenn\My
    Documents\pocket
    sphinx\model\lm\en_US -dict C:\Documents and Settings\Glenn\My
    Documents\pockets
    phinx\model\lm\en_US

    I'm also confused about DMP files and how they are used as the language
    models.

    Can anyone help me out? At a minimum, I'd like to be pointed to a good
    tutorial or readme file for working with pocketsphinx_continuous.

    Thanks,
    Glenn

     
  • Nickolay V. Shmyrev

    but I'm getting ERROR: "acmod.c:", line 84: Must specify -mdef of -hmm when
    I try to run pocketsphinx_continuous. I'm working in a windows environment.
    I've tried to enter the path names of the hidden markov model, language model
    and dictionary, but I am unsure of the syntax to use. Here is what I've tried:

    C:\Documents and Settings\Glenn\My
    Documents\pocketsphinx\bin\Debug>pocketsphinx
    _continuous -hmm C:\Documents and Settings\Glenn\My
    Documents\pocketsphinx\model
    \hmm\en_US\hub4wsj_sc_8k -lm C:\Documents and Settings\Glenn\My
    Documents\pocket
    sphinx\model\lm\en_US -dict C:\Documents and Settings\Glenn\My
    Documents\pockets
    phinx\model\lm\en_US

    The path the the acoustic model should either have no spaces or be in quotes.
    Otherwise it tries to peek only a first part of the path. The slashes could be
    optionaly direct, not backslashes. You can also pass arguments through a
    single file with arguments. For example of the arg file see
    win32/pocketsphinx_continuous/pocketsphinx_args

    I'm also confused about DMP files and how they are used as the language
    models.

    Read the tutorial http://cmusphinx.sourceforge.net/wiki/tutoriallm

    At a minimum, I'd like to be pointed to a good tutorial or readme file for
    working with pocketsphinx_continuous.

    http://cmusphinx.sourceforge.net/wiki/tuturialpocketsphinx

     

Log in to post a comment.