Unsupported Grammar Format / grammar-load-failure

138 views
Skip to first unread message

Antonio D'andrea

unread,
Nov 7, 2019, 6:54:29 AM11/7/19
to UniMRCP
Hello,

I'm facing a problem while I'm trying to invoke Azure SR Plugin , see the error below (see attached log for reference):

019-11-07 08:48:59:193317 [INFO]   Receive MRCPv2 Data 10.70.4.124:1544 <-> 10.207.173.208:12546 [460 bytes]
MRCP/2.0 460 SET-PARAMS 2
Channel-Identifier:c7f21b42e7c5497a@speechrecog
Logging-Tag: 007701DC-1000C6DC_6CRVPB84J518V4EDH601I2JNA00001MG
Speech-Language: it-it
Confidence-Threshold: 0.200000
Sensitivity-Level: 0.500000
Speed-Vs-Accuracy: 0.500000
N-Best-List-Length: 10
No-Input-Timeout: 86400000
Recognition-Timeout: 20000
Speech-Complete-Timeout: 1000
Speech-Incomplete-Timeout: 1000
Vendor-Specific-Parameters: swirec_nbest_list_length="10"

2019-11-07 08:48:59:202782 [INFO]   Receive MRCPv2 Data 10.70.4.124:1544 <-> 10.207.173.208:12546 [432 bytes]
MRCP/2.0 432 DEFINE-GRAMMAR 4
Channel-Identifier:c7f21b42e7c5497a@speechrecog
Content-Type: text/uri-list
Content-Id: 0x0000016d
Fetch-Timeout: 10000
Cache-Control: max-stale=0
Speech-Language: it-it
Content-Length: 202


2019-11-07 08:48:59:202828 [DEBUG]  Signal Message to [MRCP Server] [0x7fc89c0008c0;2;3]
2019-11-07 08:48:59:202844 [DEBUG]  Wait for Messages [MRCPv2-Agent-1] timeout [600000]
2019-11-07 08:48:59:202863 [DEBUG]  Process Message [MRCP Server] [0x7fc89c0008c0;2;3]
2019-11-07 08:48:59:202881 [DEBUG]  Dispatch Signaling Message [1]
2019-11-07 08:48:59:202888 [INFO]   Process DEFINE-GRAMMAR Request <c7f21b42e7c5497a@speechrecog> [4]
2019-11-07 08:48:59:202925 [DEBUG]  Wait for Messages [MRCP Server]
2019-11-07 08:48:59:202976 [WARN]   Unsupported Grammar Format [http://scmbas02c.rete.testposte:8082/fish-vui/SessionFixerServlet/grammars/CollectionGrammar.jsp;jsessionid=903667FA1EDDE7C02E7561767AE73BB8?&ts=1573112861589&siteid=317&blocktype=6&blockname=DomandaASR] <c7f21b42e7c5497a@azuresr>
2019-11-07 08:48:59:202997 [DEBUG]  Signal Message to [MRCP Server] [0x7fc8ac0008c0;3;4]
2019-11-07 08:48:59:203073 [DEBUG]  Process Message [MRCP Server] [0x7fc8ac0008c0;3;4]
2019-11-07 08:48:59:203087 [INFO]   Process DEFINE-GRAMMAR Response <c7f21b42e7c5497a@speechrecog> [4]
2019-11-07 08:48:59:203101 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7fc8b402bff0;1;0]
2019-11-07 08:48:59:203135 [DEBUG]  Wait for Messages [MRCP Server]
2019-11-07 08:48:59:203150 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]
2019-11-07 08:48:59:203162 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7fc8b402bff0;1;0]
2019-11-07 08:48:59:203175 [INFO]   Send MRCPv2 Data 10.70.4.124:1544 <-> 10.207.173.208:12546 [112 bytes]
MRCP/2.0 112 4 200 COMPLETE
Channel-Identifier: c7f21b42e7c5497a@speechrecog
Completion-Cause: 000 success


........


2019-11-07 08:48:59:268164 [INFO]   Send MRCPv2 Data 10.70.4.124:1544 <-> 10.207.173.208:12546 [125 bytes]
MRCP/2.0 125 5 404 COMPLETE
Channel-Identifier: c7f21b42e7c5497a@speechrecog
Completion-Cause: 004 grammar-load-failure
unimrcpserver_2019.11.07_08.48.21.709554.log

Doug Rylaarsdam

unread,
Nov 7, 2019, 9:57:46 AM11/7/19
to UniMRCP
Hi Antonio,

Arsen Chaloyan

unread,
Nov 7, 2019, 5:50:57 PM11/7/19
to UniMRCP
Right, you may consider using a built-in grammar instead in your VoiceXML app.

      <grammar src="builtin:speech/transcribe"/>

or

      <grammar src="builtin:grammar/transcribe"/>


--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/4452273b-0550-449c-bdef-0d448bd66ec6%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Antonio D'andrea

unread,
Nov 8, 2019, 11:26:13 AM11/8/19
to UniMRCP
Arsen,

when we use grammar builtin:grammar/transcribe are we using the UniMRCP grammar? and if yes , what is the grammar file?
To unsubscribe from this group and stop receiving emails from it, send an email to uni...@googlegroups.com.

Arsen Chaloyan

unread,
Nov 15, 2019, 6:03:52 PM11/15/19
to UniMRCP
Hi Antonio,

This is a pseudo built-in grammar intended to be used for speech transcription. It is not actually defined anywhere. The name of the grammar 'transcribe' can be adjusted from the configuration file umsazuresr.xml

   <ws-streaming-recognition

      transcription-grammar="transcribe"

To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/8695592c-29b5-403c-aef1-2007fe452c40%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages