Hello All,
I have queries regarding the implementation of automatic speech recogntion(asr) service. I am using asr package for this purpose. The MRFC can control the MRFP to recognize the voice by this package.
If the MRFC indicates the MRFP with the signal asrwgs(asr recognition with grammar script), the recognition grammar shall be the SRGS or other script to be specified in the rgs(recogntion grammer script) parameter in the signals descriptor of the megaco modify command. I am confused about the value of the rgs.
Is the following value for the rgs correct??
rgs = "
#ABNF 1.0 UTF-8;
language en;
mode voice;
root $basicCmd
/**
* Basic command.
* @example please move the window
* @example open a file
*/
public $basicCmd =
$http://grammar.example.com/politeness.gram#startPolite
$command
$http://grammar.example.com/politeness.gram#endPolite;
$command = $action $object;
$action = "" open {TAG-CONTENT-1} | /2/ close {TAG-CONTENT-2}
| /1/ delete {TAG-CONTENT-3} | /1/ move {TAG-CONTENT-4};
$object = [the | a] (window | file | menu ;
"
i.e. the script is sent inline with the megaco modify command. If the above behaviour is not correct, Can someone illustrate an example stating the value of the rgs parameter.
Regards,
Shalu