<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Congratulations, you found a bug!   
      The patch attached to this message (to HTKLattice.cc) should fix
      this problem.<br>
      <br>
      Andreas<br>
      <br>
      On 8/21/2012 2:43 PM, Lluís Formiga i Fanals wrote:<br>
    </div>
    <blockquote cite="mid:7507354C-E6F2-4F91-8B9D-D75B1118023D@upc.edu"
      type="cite">Hi Andreas,
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>Sorry
        to bother you with this old issue.</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>The
        two-step lattice-tool process worked perfectly. First the
        rescoring and second the conversion to CN.</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>But,
        unfortunately I have seen a few unks while rescoring the lattice
        (not as many as writing the mesh).</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>The
        command I use to rescore is:</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre">
          lattice-tool -lm ../../lm/interpolated-lm.en -in-lattice
          wordlattice0.slf -read-htk -out-lattice out.</span>slf<span
          class="Apple-tab-span" style="white-space:pre"> -write-htk
          -keep-unk -print-sent-tags -htk-logbase 2.71828</span></div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>And
        I find lines like these: (Whithin these lines the <unk>
        tag should be queit)</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre">J=26
          S=19 E=24 W=qu a=0 l=-13.8261
          J=27 S=19 E=25 W=que a=0 l=-11.4986
          J=28 S=19 E=26 W=<unk> a=0 l=-2.76367
          J=29 S=19 E=27 W=quest a=0 l=-10.831
          J=30 S=19 E=28 W=quiet a=0 l=-10.57
          J=31 S=19 E=29 W=quit a=0 l=-10.4455
          J=32 S=20 E=21 W=row a=0 l=-10.1076
          J=33 S=21 E=24 W=qu a=0 l=-14.9448
          J=34 S=21 E=25 W=que a=0 l=-12.6173
          J=35 S=21 E=26 W=<unk> a=0 l=-3.88236
          J=36 S=21 E=27 W=quest a=0 l=-11.9497
          J=37 S=21 E=28 W=quiet a=0 l=-11.6887
          J=38 S=21 E=29 W=quit a=0 l=-11.0153
          J=39 S=22 E=19 W=arrow a=0 l=-12.6258</span></div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"> </span>I
        have to say that I use the rescoring to give probabilities to
        the archs from misspelling corrections. So I do not have any
        acoustic scores. (I set all them equal).</div>
      <div><br>
      </div>
      <div><span class="Apple-tab-span" style="white-space:pre"></span><br>
      </div>
    </blockquote>
    <br>
  </body>
</html>