title: HTK: HVite can't find hmm
body: <p>I want to build a speech recognition system using HTK and therefore downloaded a pre-trained acoustic model with tied states from <a href="http://www.keithv.com/software/htk/us/" rel="nofollow">http://www.keithv.com/software/htk/us/</a> (Training data: WSJ SI-84). </p>
  
  <p>However, when I try to run HVite with my dictionary, I get the following error:</p>
  
  <pre><code>$ HVite -H macros -H hmmdefs -S test.scp -l '*' -i recout.mlf -w wdnet -p 0.0 -s 5.0 dict tiedlist  
  ERROR [+8231]  GetHCIModel: Cannot find hmm [z-]ia[+r]
   FATAL ERROR - Terminating program HVite
  </code></pre>
  
  <p>where <code>macros</code>, <code>hmmdefs</code>, and <code>tiedlist</code> are the files downloaded from the link above. <code>test.scp</code> contains paths to my feature files. </p>
  
  <p>My <code>dict</code> file looks like this:</p>
  
  <pre><code>DIAL d ay ax l
  EIGHT ey t
  FIVE f ay v
  FOUR f ao r
  NINE n ay n
  OH ow
  ONE w ah n
  SENT-END [] sil
  SENT-START [] sil
  SEVEN s eh v ax n
  SIX s ih k s
  THREE th r iy
  TWO t uw
  ZERO z ia r ow
  </code></pre>
  
  <p><code>wdnet</code> is generated using <code>HParse grammer wdnet</code>, where the content of <code>grammar</code> is the following:</p>
  
  <pre><code>$digit = ONE | TWO | THREE | FOUR | FIVE | SIX | SEVEN | EIGHT | NINE | OH | ZERO;
  
  ( SENT-START DIAL &lt;$digit&gt; SENT-END )
  </code></pre>
  
  <p><code>tiedlist</code> does not have a line containing <code>z-ia+r</code>, but why is this an error and how can I fix it?</p>