title: Pocketsphinx - Adding words and Improving accuracy
body: <p>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:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>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?</p>
  
  <p>thanks</p>
  
  <p>-Mike </p>