Thank you Antoine.<br>
<br>
If there is a documentation for the AudioServer somewhere, could you please point to it.<br>
<br>
Does AudioServer communicates with Sphinx male and female via sockets?<br>
<br>
Did sphinx 2 provide a socket interface or did you write a wrapper for it?<br>
<br>
It seems that running 3 separate servers for ASR adds complexity to the
application (unless sphinx already provides socked api). <br>
Alternatively, we could (as we did with the back end) have a single java (or c) server which runs as a wrapper to the sphinx. <br>
However, if we are running multiple versions of sphinx(male/female) we
would still need a single server to combine output from both, right?<br>
<br>
Could you please comment on this design issue.<br>
<br>
<br>
thank you,<br>
Svetlana<br>
<br><br><div><span class="gmail_quote">On 11/27/06, <b class="gmail_sendername">Antoine Raux</b> <<a href="mailto:antoine@cs.cmu.edu">antoine@cs.cmu.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="FR">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hi Svetlana,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">Yes AudioServer is the
Galaxy server for ASR. It is however a little more than just a wrapper since it
runs as an interface to audio inputs and can stream the audio to several engines
in parallel (hence the SPHINX_MALE and SPHINX_FEMALE processes). AudioServer
then collects the hypotheses and sends them to the hub (all the hypotheses are
then parsed and Helios picks one for RavenClaw).</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">The code for AudioServer
is in Agents/MultiDecoder/Audio_Server</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">To answer your other
question, yes you can use TTY-server as a template for your ASR agent. Don't
forget to handle confidence scores (potentially dummy ones if Sphinx4 doesn't
give you real ones).</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">Hope this helps,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US">antoine</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
<a href="mailto:ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu</a>
[mailto:<a href="mailto:ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ravenclaw-developers-bounces@LOGANBERRY.srv.cs.cmu.edu</a>] <b><span style="font-weight: bold;">
On Behalf Of </span></b>Svetlana Stenchikova<br>
<b><span style="font-weight: bold;">Sent:</span></b> Monday, November 27, 2006
1:26 PM<br>
<b><span style="font-weight: bold;">To:</span></b> Dan Bohus<br>
<b><span style="font-weight: bold;">Cc:</span></b> Sarah Hoffman;
<a href="mailto:ravenclaw-developers@cs.cmu.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ravenclaw-developers@cs.cmu.edu</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [RavenclawDev 199] Re:
adding ASR</span></font></p>
</div><div><span class="e" id="q_10f2ada79ec9c567_1">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi, <br>
we are now starting to add sphinx ASR to our calendar system.<br>
<br>
We had some general questions about it.<br>
<br>
The roomline version is set to work with sphinx 2, and there are 3 servers that
are starting for it.<br>
<br>
<br>
<br>
{<br>
title SPHINX_AUDIO<br>
dir .<br>
path ..\..\Bin\x86-nt\Audio_Server.exe -engine_list
sphinx_engines.txt<br>
server_name sphinx<br>
}<br>
<br>
{<br>
title SPHINX_MALE<br>
dir ..\..\Resources\DecoderConfig\<br>
path ..\..\Bin\x86-nt\Sphinx_Engine -name male -argfn
male-8khz.arg -port 9990<br>
server_name sphinx_male<br>
}<br>
<br>
{<br>
title SPHINX_FEMALE<br>
dir ..\..\Resources\DecoderConfig\<br>
path ..\..\Bin\x86-nt\Sphinx_Engine -name female -argfn
female-8khz.arg -port 9991<br>
server_name sphinx_female<br>
}<br>
<br>
<br>
Is Audio_Server.exe the Galaxy wrapper? Where is the code for it?<br>
<br>
We plan to use sphinx 4, so we may want to write a java wrapper for it. If I
understand correctly, we could just use the TTY wrapper that we have and
replace the calls to output and input text with calls to sphinx. Is this
correct?<br>
<br>
thank you.<br>
<br>
Svetlana</span></font></p>
</span></div></div>
</div>
</blockquote></div><br>