Stopping speech recognition prematurely

93 views
Skip to first unread message

San'cheZ

unread,
Sep 26, 2023, 3:47:29 PM9/26/23
to UniMRCP
Hello. After changing the parameter (no timeout "nit" is entered), the desired effect is not observed.
I play an audio file and pause between phrases for no more than 1 second. I increased the "nit" parameter to the extreme value of 45000, but as a result I only get the first phrase, after which the channel ends the call.
Example I'm using:
same = n,MRCPRecog(built-in: speech/transcript,p=ums2&nac=true&t=45000&nit=45000&b=1&spl=zh-CN)
Wednesday:
Ubuntu 20.04
Asterisk 19
SR ms-azure
Can you tell me what documentation I should use to achieve the effect?
I'm using the instructions now
https://www.unimrcp.org/manuals/html/AsteriskUsageManual.html

Vahagn Kocharyan

unread,
Oct 18, 2023, 1:31:22 PM10/18/23
to UniMRCP
Hi
i don't see your audio in your configuration. You must share your asterisk logs. 
Nit is no-input timeout, you must check default timeouts in unimrcp azure-sr conf.
Thanks
Vahagn

San'cheZ

unread,
Oct 18, 2023, 2:35:41 PM10/18/23
to UniMRCP
Thanks, I solved the problem using the parameters.
single-utterance="false"
 interim-result-timeout="4000"

But now I have another problem. As a result of recognition, I want to get numbers (not words). But recognition returns words instead of numbers. Hierlyphs are two zeros.
how can I force it to always return numbers? 2023-10-18_21-32-04.png


среда, 18 октября 2023 г. в 20:31:22 UTC+3, Vahagn Kocharyan:

Arsen Chaloyan

unread,
Oct 20, 2023, 5:49:08 PM10/20/23
to uni...@googlegroups.com
With the Azure SR plugin, you can configure the field to be returned in the NLSML <instance> element from the JSON response received from Azure STT API. By default, the instance-token is set to ITN. However, the chances are neither of the fields would contain numeric only representation. You would need to use LUIS or a similar API to get pre formatted numbers from the transcribed text. The Azure BS plugin supports the use of LUIS natively.

--
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/a6df2f3d-e546-427d-9a66-076b51a1438an%40googlegroups.com.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org
Message has been deleted

San'cheZ

unread,
Nov 9, 2023, 9:53:22 AM11/9/23
to UniMRCP
Unfortunately Luis ends his support. Language Understanding (LUIS) will be retired on 1 October 2025. Starting 1 April 2023, users will not be able to create new LUIS resources. Are there any alternative solutions?

суббота, 21 октября 2023 г. в 00:49:08 UTC+3, Arsen Chaloyan:
Reply all
Reply to author
Forward
0 new messages