Menu

Pocketsphinx improving accuracy / recognition

Help
Anonymous
2010-12-29
2012-09-22
  • Anonymous

    Anonymous - 2010-12-29

    Hi, I've managed to finally build and run pocketsphinx
    (pocketsphinx_continuous). The problem I'm running into, is how to a improve
    accuracy. From what I understand, you can specify a dictionary file (-dict
    test.dic). So I took the default dictionary file and added some more
    pronunciations of the same words, for example:

    pencil P EH N S AH L
    pencil(2) P EH N S IH L

    spaghetti S P AH G EH T IY
    spaghetti(2) S P UH G EH T IY

    Yet pocketsphinx still does not recognize either word at all. I know there is
    a jsgf file you can specify as well , but that seems more for phrases and
    grammar. How can I get pocketsphinx to recognize common words such as pencil
    and spaghetti?

    thanks

    -Mike

     
  • Anupam Saha

    Anupam Saha - 2010-12-30

    make a text file containing your words, each word in a single line. and make
    lm and dic file from ths link..
    http://www.speech.cs.cmu.edu/tools/lmtool-
    new.html

    then just pass the arguments at command line as -hmm "hmm path" -lm "lm path"
    -dict "dic path"

     

Log in to post a comment.