cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3633
Views
20
Helpful
8
Replies

UCCX speech recognition tag problem

Andrei Fokin
Level 1
Level 1

Hello! 

I have trouble with mapping tag from voice recognition result to CCX variable. Generic Recognition is  succesful and in next step  Get Recognition Interpretation I try to map tag data from Slots to CCX Variable.

 

My test grammar:

<?xml version="1.0" encoding="UTF-8"?>
<grammar xml:lang="ru-RU" version="1.0"
xmlns="http://www.w3.org/2001/06/grammar"
root="Digits"
tag-format="semantics/1.0-literals">
<rule id="Digits" scope="public">
<one-of>
<item>0<tag>out.digits="zero"</tag></item>
<item>1<tag>out.digits="one"</tag></item>
<item>2<tag>out.digits="two"</tag></item>
<item>3<tag>out.digits="3"</tag></item>
</one-of>
</rule>
</grammar>

 

My CCX script revert "null" value from Slot "digits" to Variable "Digits", although the CCX logs I see that the data from ASR system is transmitted successfully. For example (ASR recognize  "One" and revert  tag  "one"):

null.PNG

 

 

 

194994408: Jul 24 19:03:07.120 MSK %MIVR-SS_MRCP_ASR-7-UNK:MRCPSpeechChannel(Channel id:7, Contact id:696, Task id:37000527026): processRecResults(): NLSLM Result is: <?xml version="1.0" encoding="utf-8"?><result><interpretation grammar="session:GenericRecognition@DialogObject.grammar" confidence="71"><input mode="speech" confidence="71" timestamp-start="2018-07-24T19:03:04.540" timestamp-end="2018-07-24T19:03:04.940">1</input><instance>out.digits="one"<SWI_meaning>out.digits="one"</SWI_meaning></instance></interpretation></result>
194994409: Jul 24 19:03:07.120 MSK %MIVR-SS_MRCP_ASR-7-UNK:MRCPMediaManagerImpl: appId=2, confId=57592, parId=4, channelId=7, channelImplId=7, contactId=696, contactImplId=1513656/1 -> Closing TX Stream Manager
194994410: Jul 24 19:03:07.122 MSK %MIVR-SS_MRCP_ASR-7-UNK:MRCPSpeechChannel(Channel id:7, Contact id:696, Task id:37000527026): Exiting playAndRecognize()
194994411: Jul 24 19:03:07.123 MSK %MIVR-SS_MRCP_ASR-7-UNK:RecognitionDialogImpl(Channel id:7, Contact id:696, Task id:37000527026):DialogObjectDTMF:Rec Results from playAndRecognize():
Result[
Number of Interpretations = 1
[
Interpretation[
confidence =71
grammar=session:GenericRecognition@DialogObject.grammar
Input[
text=1
mode=speech
confidence=71
noinput=false
nomatch=false
]
Number of Instances = 1
[
Instance[
SWI_meaning=out.digits="one"
]
]
]

 

Why does the Get Recognition Interpretation step return "null" instead of"one"?

8 Replies 8

Andrei Fokin
Level 1
Level 1