Menu

pocketsphinx_continuous -infile problem

Help
2011-05-17
2012-09-22
  • Amin Yazdani

    Amin Yazdani - 2011-05-17

    Hi

    This is the problem I faced using pocketsphinx_continuous -infile test.wav

    I have two sentences in the test file. When I tried the pocket sphinx on the
    file, the second sentence was recognized correctly, but the first one was
    complete mess!

    I opened my wav file in audio editor and copy/paste the first sentence after
    the second one (so 3 sentences, where first and third was completely same) and
    tried again,
    this time the result for the third sentence was much better!

    So, i'm confused! Why it's returning two different results for the same
    sentence?

    Am I doing anything wrong?

     
  • Nickolay V. Shmyrev

    pocketsphinx in live mode uses prior channel parameter estimation which called
    CMN estimation which improves over time. You can see it in the log. You can
    try to specify initial CMN value with -cmninit to make it converge faster.

     
  • Amin Yazdani

    Amin Yazdani - 2011-05-18

    What if I use the batch mode? (pocketsphinx_batch)

    Is that the same? Or that will be more accurate from start?

     
  • Nickolay V. Shmyrev

    Hello

    Batch mode uses different CMN (current) which means the values are normalized
    over the utterance. For short utterances it's worse, for long it's better.
    Best approach would be to use current in the beginning and then fallback to
    prior but this thing is not implemented.

     

Log in to post a comment.