Speech Recognition with Intents missing the query words after special character
See original GitHub issueSpeech Recognition with Intents missing query words on Intent Recognition
In Javascript Speech SDK intent recognized with LanguageUnderstandingServiceResponse_JsonResult
.
The recognized query words are missed after the special characters($, +, etc.,) occurrence.
Solution: Recognized query words from Speech SDK must parsing/encoded while process with LUIS.
Steps to reproduce the behavior
- Speek with sentence with &
- Check the
SpeechSDK.ResultReason.RecognizedSpeech
for exact text we speak - Check the
SpeechSDK.ResultReason.RecognizedIntent
there where the words after & is missed
Expected behavior Recognized query words from Speech SDK must parsing/encoded while process with LUIS.
Version of the Cognitive Services Speech SDK SpeechSDK-JavaScript-1.1.0 SpeechSDK-JavaScript-1.2.1
Programming Language
- Programming language: JavaScript
Issues with log information Sample item to reproduce the issue: *Note: Problematic lines are highlighted below
(sessionStarted) SessionId: 712B58292F564C9C85B9E45CD6C14AA9 (speechStartDetected) SessionId: 712B58292F564C9C85B9E45CD6C14AA9 (recognizing) Reason: RecognizingIntent Text: he (recognizing) Reason: RecognizingIntent Text: show (recognizing) Reason: RecognizingIntent Text: show comp (recognizing) Reason: RecognizingIntent Text: show company (recognizing) Reason: RecognizingIntent Text: show company did (recognizing) Reason: RecognizingIntent Text: show company detail (recognizing) Reason: RecognizingIntent Text: show company details (recognizing) Reason: RecognizingIntent Text: show company details for (recognizing) Reason: RecognizingIntent Text: show company details for 80 (recognizing) Reason: RecognizingIntent Text: show company details for AT and (recognizing) Reason: RecognizingIntent Text: show company details for AT&T (recognizing) Reason: RecognizingIntent Text: show company details for AT&T lab (recognizing) Reason: RecognizingIntent Text: show company details for AT&T laboratory (recognizing) Reason: RecognizingIntent Text: show company details for AT&T laboratories (speechEndDetected) SessionId: 712B58292F564C9C85B9E45CD6C14AA9 (recognized) Reason: RecognizedIntent Text: Show company details for AT&T laboratories. IntentId: BusinessDetails Intent JSON: { “query”: “show company details for AT”, “topScoringIntent”: { “intent”: “BusinessDetails”, “score”: 0.835796535 }, “entities”: [] } (continuation) Reason: RecognizedIntent Text: Show company details for AT&T laboratories. IntentId: BusinessDetails Intent JSON: { “query”: “show company details for AT”, “topScoringIntent”: { “intent”: “BusinessDetails”, “score”: 0.835796535 }, “entities”: [] } (sessionStopped) SessionId: 712B58292F564C9C85B9E45CD6C14AA9
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top GitHub Comments
Hey – this is now fixed on the service side, can you try again? Thanks for your patience.
thank you for reporting the issue, we will look into the root cause.