Hi Blaise,<div>  I think I actually fixed a similar bug in what became Olympus 2.5.  Are you using that?  E-mail the list if you have questions about upgrading to Olympus 2.5 if you are interested.  Either way, can you send me your changes?  I&#39;ll try to get them committed if necessary.</div>

<div><br></div><div>Thanks,</div><div>Ben<br><br><div class="gmail_quote">On Wed, Mar 24, 2010 at 11:04 AM, Thomas Harris <span dir="ltr">&lt;<a href="mailto:tkharris@gmail.com">tkharris@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Blaise,<br><br>Thanks for looking into this. I hope we can include your bugfixes. I&#39;ve been looking into this as well, and there&#39;s a more fundamental issue. It seems like you can&#39;t get word confidence metrics from the PocketSphinx segment iterators when you&#39;ve gotten the sement iterators from the n_best hypothisis iterator. It smells like a PocketSphinx bug, but I haven&#39;t seen any reference implementation of PocketSphinx that makes use of those confidence metrics in an n_best setting, so I&#39;m not sure that it isn&#39;t a problem with how the PocketSphinx api is used. Until that issue is resolved n_best lists won&#39;t work in Olympus, too many downhill processes depend on those confidence metrics. <br>


<br>Thanks,<br>-Thomas<br><br><div class="gmail_quote">On Wed, Mar 24, 2010 at 4:39 AM, Blaise Thomson <span dir="ltr">&lt;<a href="mailto:brmt2@cam.ac.uk" target="_blank">brmt2@cam.ac.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">


Dear Olympus developers,<br>
<br>
I am trying to get the Olympus LetsGo! system to provide an N-best list of speech recognition hypotheses. I found the -n_best switch which can be passed to the PocketSphinxEngine which is supposed to enable this but when I set the switch to anything other than 0 the system crashes immediately on any audio input. I remember you said that the system had been build to provide N-best lists so I was wondering if you could give any advice on why it is not working. Do you have a working N-best list system that you could send me to see how things are configured?<br>



<br>
In trying to solve the problem I took a look at the PocketSphinxEngine source code and have noticed some possible memory access bugs which may be contributing to this. These were related to the way the iHypsGenerated variable was used. I&#39;ve fixed these and can send them if you would like (I tried attaching them but the mailing list won&#39;t let me). The resulting code still crashes but at a later stage. After the fix, the log file generates a WARNING: &quot;ngram_search.c&quot;, line 1000:. I don&#39;t know if this might be the cause of the problem. There is also a possibility that I simply have to add a configuration variable to PocketSphinx itself. At the moment I have only used the n_best switch on PocketSphinxEngine.<br>



<br>
Please do let me know if you have any ideas of how to get this working or who else to contact.<br>
<br>
Thanks for all you help,<br><font color="#888888">
<br>
Blaise<br>
<br>
<br>
</font></blockquote></div><br>
</blockquote></div><br></div>