Spanish speech recognition

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

  • Author
  • Message
Offline

jverweij

  • Posts: 78
  • Joined: Thu Apr 27, 2017 11:29 am

Spanish speech recognition

PostWed Jul 11, 2018 11:59 am

We are going to be launching an ivr call in spanish and want to allow the member to speak "si" or "no" but are having trouble implementing that grammar recognition. Looking through the documentation we're not sure how to implement this. We're looking for assistance. Thank you!
Offline

support

  • Posts: 3505
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Spanish speech recognition

PostWed Jul 11, 2018 2:29 pm

Hi,

When your application loads a grammar the system will use the current active language identifier in your document. The language identifier is controlled by the use of the xml:lang attribute which is defined in the <vxml> tag. You can set the xml:lang for the document by declaring your <vxml> tag as:

Code: Select all
<vxml xml:lang="es-US">
  ...
</vxml>


After declaring the xml:lang attribute any grammars loaded on that page will automatically use US Spanish as their supported language.

Regards,
Plum Support

Return to Plum DEV Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron