Specifying the Model in the Client

25 views
Skip to first unread message

erj

unread,
Dec 16, 2022, 9:07:59 AM12/16/22
to UniMRCP
Hi All, 
We have a customer who wishes the specify the model ( as in GSR Usage Manual (unimrcp.org) section 3.2) to be used for a STT session. Looking at the docs it seems like the model can be specified on the server but not in the client although you can specify 'use-enhanced' in the client to make the server use the enhanced version of the model from the server config.

Do you know how we could pass the model in from the uniMRCP client ?

Thanks
Ed James

Arsen Chaloyan

unread,
Dec 22, 2022, 8:33:45 PM12/22/22
to uni...@googlegroups.com
Hi Ed,

Both the 'use-enhanced' and 'model' parameters can actually be specified either globally in umsgsr.xml and/or per recognition request via vendor-specific parameters. The documentation has been fixed to reference them both here. Usage examples:

Builtin grammar
builtin:speech/transcribe?use-enhanced=true;model=phone_call

SRGS XML grammar
<?xml version="1.0"?>
<grammar mode="voice" root="transcribe" version="1.0" xml:lang="en-US" xmlns="http://www.w3.org/2001/06/grammar">
  <meta name="use-enhanced" content="true"/>
  <meta name="model" content="phone_call"/>
  <meta name="transcribe" content="hint"/>
   <rule id="spell"> <one-of>  <item>_blank</item> </one-of>  </rule>
</grammar>



--
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/a68359f2-eb6f-4bf3-9078-75ec7409c586n%40googlegroups.com.


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

erj

unread,
Dec 23, 2022, 6:19:11 AM12/23/22
to UniMRCP
Hi Arsen,
Great, thanks very much.
Regards
Ed

Reply all
Reply to author
Forward
0 new messages