It appears that Nuance Speech Server doesn't accept headers of the format:
Sensitivity-Level: 0.
It appears to be a valid format according to the draft RFC, but NSS doesn't
like it. NSS will accept:
Sensitivity-Level: 0.0
Confidence-Threshold has the same problem. I assume that all float type
headers will exhibit the same problem. I modified apt_float_value_generate()
in the attached apt_text_stream.c to generate the second format. I didn't
look any other uses of that function to verify that I didn't break anything
else.
What steps will reproduce the problem?
1.Set Confidence-Threshold to 0.0
2.The unimrcp client libs will format it to "Confidence-Threshold: 0."
3.Send the RECOGNIZE
From my logs which may be formated differently than your default:
(21538) <16:13:26.729> src/mrcp_client_connection.c:532 [INFO] Send MRCPv2
Stream 10.22.189.62:45509 <-> 10.22.189.64:6075 [291 bytes]
MRCP/2.0 291 RECOGNIZE 2^M
Channel-Identifier: 228@speechrecog^M
Content-Type: text/uri-list^M
Start-Input-Timers: false^M
No-Input-Timeout: 5000^M
Recognition-Timeout: 10000^M
Cancel-If-Queue: true^M
Confidence-Threshold: 0.^M
Content-Length: 49^M
^M
file:///usr2/ps/data/grammar/nuance/YesNo.grxml^M
(21538) <16:13:26.750> src/mrcp_client_connection.c:640 [INFO] Receive MRCPv2
Stream 10.22.189.62:45509 <-> 10.22.189.64:6075 [93 bytes]
MRCP/2.0 93 2 404 COMPLETE^M
Confidence-Threshold: 0.^M
Channel-Identifier: 228@speechrecog^M
^M
What version of the product are you using? On what operating system?
Running on CentOS 5, unimrcp r1788.
Original issue reported on code.google.com by virtualolson@gmail.com on 14 Dec 2010 at 9:10
Original issue reported on code.google.com by
virtualolson@gmail.com
on 14 Dec 2010 at 9:10Attachments: