tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vani Ampavathina <>
Subject Regarding RDC
Date Thu, 02 Feb 2006 05:54:28 GMT

 I am evaluating the RDC Tag  libraries to use in our speech
applications.Ihave a small difficulty in using these tags. can you
help me in briefing a
solution for the following problem.

1) When I use,say for example "alpha" tag, I would like to have my own logic
in the "filled" block rather having the default submit and the namelist
formed from the Nbest.js. From the provided document , I understand that we
can use the submit attribute to submit to any other JSP, but what about the
variables i wish to pass on to the next JSP?

Say to have something like

 <submit next="UseCollectedAlpha.jsp" namelist="alphacollected var1 var2

instead of

    <script src="/rdc-examples/.grammar/nbest.js"/>
    <var name="alphaResultNBest" expr="serializeNBest()"/>
method="post" namelist="alphaResultNBest"/>

is it possible to implement this? whats the reason to send the confidence,
utterance and the interpretation as a serialized object from the nbest.js?
by default the maxNBest is set to 5 and all the values are concatenated and
returned. is there any special reason of such implementation, when i can
directly take up the "application.lastresult$.utterance" for the most
probable value, the asr recognized.

2) how is a simple JSP with 4 lines of code getting translated to few tens
lines of code? The tutorials and wikis doesn't help in understanding the
concept.The only vxml tag I can see in the Tag library is <form> in "
task.tag". The config file gives the prompts list, this part is
understood. But how are the attributes like minLength and maxLength of
"alpha" tag, for example, used to limit the grammar as I notice there is no
direct correspondence to these attributes, and where is the input entered by
the user getting validated?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message