08-24-2014 02:31 AM - edited 03-14-2019 01:47 PM
Hi All,
We are able to integrate with Nuance 9 with CVP 9. We used a simple application where the application would ask to choose for sales or support. For this we used a 2 option menu and in voice keyword we have provide - en-us;approximate;sales and is working fine.
We are now building a vxml application to integrate with external grammar files. we used form element and used the correct syntax as prescribed in the config guide. We would like to know if there is any sample vxml app where form element and grammar integration is used.
Please find attached the form element properties . URL is http://CVP_ip_address/en-us/app/Helloworld.xml
After deploying the application, we are getting audium error exception.PFa. Please let us know if any one can help me on this.
Solved! Go to Solution.
08-26-2014 08:32 AM
we were able to resolve the external grammar error. if any body in future would be looking out for solution then its below:
steps for using external grammar with CVP:
1) external grammar will be grammar file with extension of .grxml (filename.grxml) and its served by any HTTP web server(IIS server) on need basis(similarly to a wav file).
enable the web server to provide .grxml file by adding a MIME extension as .grxml and MIME Type as application/srgs+xml.
2) create a sample grammar file, save it as .grxml and put it on web server.
make sure that you are able to get the file by http, check by putting URL in your browser.
here is the sample grammar (grxml)
if you are using nuance Recogniser, then there are some more samples you can find under
C:\Program Files\Nuance\Recognizer\samples\swirec_sample\
3) use a form element in Call studio to test the developed grammar.
below is the sample configuration of the call studio form element.
make sure that grammar file is reached by voice gateway on specified URL.
also make sure that you have appropriate language pack installed on nuance, the one you are trying to use(in this case its US english). also please set the locale by application modifier.
the language context and language code in form element configuration must match the defined one in .grxml.
thats it, you should be able to recognize the words whatever you have mentioned in grxml <ITEM> tag.
the utterance will be stored in nbestUtteranceX element data.
regards
Chintan
08-26-2014 08:32 AM
we were able to resolve the external grammar error. if any body in future would be looking out for solution then its below:
steps for using external grammar with CVP:
1) external grammar will be grammar file with extension of .grxml (filename.grxml) and its served by any HTTP web server(IIS server) on need basis(similarly to a wav file).
enable the web server to provide .grxml file by adding a MIME extension as .grxml and MIME Type as application/srgs+xml.
2) create a sample grammar file, save it as .grxml and put it on web server.
make sure that you are able to get the file by http, check by putting URL in your browser.
here is the sample grammar (grxml)
if you are using nuance Recogniser, then there are some more samples you can find under
C:\Program Files\Nuance\Recognizer\samples\swirec_sample\
3) use a form element in Call studio to test the developed grammar.
below is the sample configuration of the call studio form element.
make sure that grammar file is reached by voice gateway on specified URL.
also make sure that you have appropriate language pack installed on nuance, the one you are trying to use(in this case its US english). also please set the locale by application modifier.
the language context and language code in form element configuration must match the defined one in .grxml.
thats it, you should be able to recognize the words whatever you have mentioned in grxml <ITEM> tag.
the utterance will be stored in nbestUtteranceX element data.
regards
Chintan
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: