ASR support with Unimrcpclient using Loquendo speech server for MRCPv1

206 views
Skip to first unread message

beh...@avaya.com

unread,
Jan 24, 2011, 2:36:14 PM1/24/11
to UniMRCP
Hi,

I am having an issue with ASR when using unimrcpclient with the
Loquendo speech server for MRCPv1.
After DEFINE-GRAMMAR, after the RECOGNIZE message the error that I see
is:

MRCP/1.0 2 407 COMPLETE
Completion-Cause: 006 error

I get the same error message for every grammar, so I don't think the
issue lies with the grammar.

I am using the nuance.xml config file for Loquendo. The only change
that I did was added the Loquendo speech server's ip address and port
number for the values in <server-ip> and <server-port>.

Do I need to make any other changes to the config file for it to work
with Loquendo for ASR ? TTS is running fine with the nuance.xml config
file.

The grammar that I was trying to use is:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" mode="voice"
root="yes" tag-format="semantics/1.0" version="1.0" xml:lang="en-us">
<rule id="yes" scope="public">
<ruleref uri="#Column1"/>
<tag>out.cxtag=rules.Column1;out.Column1=rules.Column1;</tag>
</rule>
<rule id="Column1" scope="private">
<tag>out='';</tag>
<one-of>
<item>yes<tag>out+="yes";</tag>
</item>
<item>yup<tag>out+="yup";</tag>
</item>
<item>sure<tag>out+="sure";</tag>
</item>
<item>ok<tag>out+="ok";</tag>
</item>
</one-of>
</rule>
</grammar>

If anyone has got ASR working with Loquendo speech server using
unimrcpclient, can you please post your config file ?

Any ideas or help on this will be greatly appreciated.
Thanks.



roko

unread,
Jan 24, 2011, 4:29:32 PM1/24/11
to uni...@googlegroups.com
In the RFC specification for MRCPv1:

http://tools.ietf.org/html/rfc4463 

page 46, you can read that is 006 error code is related with "RECOGNIZE request terminated prematurely due to a
recognizer error
"

Check Loquendo log .






beh...@avaya.com

unread,
Jan 25, 2011, 12:18:21 PM1/25/11
to UniMRCP
Yes, I saw that 006 error code is the recognizer error, but any ideas
on how to fix it ? There is nothing in the Loquendo log.

On Jan 24, 1:29 pm, roko <robert.k...@oocorp.net> wrote:
> In the RFC specification for MRCPv1:
>
> http://tools.ietf.org/html/rfc4463 
>
> page 46, you can read that is 006 error code is related with "*RECOGNIZE
> request terminated prematurely due to a
> recognizer error*"
>
> Check Loquendo log .

roko

unread,
Jan 25, 2011, 2:25:51 PM1/25/11
to uni...@googlegroups.com
I didn't try loquendo yet (I'm having a baby trying to get pocketsphinx to work).

Did you check the unimrcoclient7asterisk log ? turn the log to "debug" and check it again and post any errors here.


beh...@avaya.com

unread,
Jan 25, 2011, 8:13:00 PM1/25/11
to UniMRCP
I am not using Asterisk. I created an application(based on the demo
applications available) using unimrcpclient and am trying to use
Loquendo for ASR for MRCP version1. TTS runs fine with Loquendo. I
don't know how to fix this error.

roko

unread,
Jan 26, 2011, 7:57:54 AM1/26/11
to uni...@googlegroups.com
Hi,

I'm sorry I did assume you are using asterisk.

Do the demos showed in section 3 of the installation guide work ?
http://code.google.com/p/unimrcp/wiki/InstallationGuide

Did you try a configuration like this but adapted to Loquendo ?
http://code.google.com/p/unimrcp/wiki/NuanceInterop

Try to check Loquendo's speech server and ASR logs in debug mode.

beh...@avaya.com

unread,
Jan 28, 2011, 4:28:17 PM1/28/11
to UniMRCP
Thanks for you help, I figured out what the problem was. There was a
bug in unimrcpclient. There was a space in the grammar name. Nuance
didn't complain but Loquendo did. After I removed the space, it is
working.
Maybe this bug has been fixed in the latest version. I was using 1.0.0
of unimrcp.

On Jan 26, 4:57 am, roko <robert.k...@oocorp.net> wrote:
> Hi,
>
> I'm sorry I did assume you are using asterisk.
>
> Do the demos showed in section 3 of the installation guide work ?http://code.google.com/p/unimrcp/wiki/InstallationGuide
>
> Did you try a configuration like this but adapted to Loquendo ?http://code.google.com/p/unimrcp/wiki/NuanceInterop

roko

unread,
Jan 28, 2011, 4:58:29 PM1/28/11
to uni...@googlegroups.com
Great!

You mean that the error was a space charcater in your grammar name.
So, you had something like "My Gramar.xml" and it needed to be "MyGrammar.xml".

is that correct ?
Reply all
Reply to author
Forward
0 new messages