Spanish Grammar Recognition

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

  • Author
  • Message
Offline

luckyllama

  • Posts: 5
  • Joined: Thu Jun 13, 2019 4:22 pm

Spanish Grammar Recognition

PostFri Aug 23, 2019 9:43 am

Hello,

We have some Spanish call flows within our application. Our callers are experiencing an almost 100% no match rate against our Spanish grammar list and we're troubleshooting to find any potential configuration changes that may help with the matching.

One thing we're looking at currently is the language setting within our grammars. We are currently specifying the language to be 'es'. However, when I reviewed the documentation, it looks like we may need to be using es-US or es-MX. Plum's grammar documentation page says to use 'es-US', but also have noticed 'es-MX' referenced frequently by Plum employees on the dev forums. We've tried both and haven't seen any noticeable improvement with either. Please advise on the correct settings for Spanish.

Here's an example of our current Spanish grammar for reference:

Code: Select all
<grammar type="application/srgs+xml" xml:lang="es" root="KEYWORD_ES" mode="voice">
<rule id="KEYWORD_ES" scope="public">
   <tag>lang='es';</tag>
   <one-of>
      <item>
         <one-of>
            <item>c p l</item>
            <item>ce pe ele</item>
         </one-of>
      </item>
   </one-of>
</rule>
</grammar>
Offline

support

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

Re: Spanish Grammar Recognition

PostMon Aug 26, 2019 10:54 am

Thanks for your question. We'll be happy to help as best we can.

What is the actual Spanish phrase that should match the prompt?
Offline

luckyllama

  • Posts: 5
  • Joined: Thu Jun 13, 2019 4:22 pm

Re: Spanish Grammar Recognition

PostTue Aug 27, 2019 2:32 pm

Our prompt asks the caller to say a "keyword" phrase they heard on the radio (as part of an advertising campaign). The match phrases could be literally anything the advertiser wants to use as the match phrase. In the example I provided, the match phrase was an acronym with the letters C P L, but we were also listening for a few other specific words like 'uno' and 'chipotle.'
Offline

support

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

Re: Spanish Grammar Recognition

PostWed Aug 28, 2019 11:16 am

We were able to get a match using the following:

<item>C.P.L.</item>

Please give this a try and let us know if you still have any issues.

Return to Plum DEV Q&A

Who is online

Users browsing this forum: No registered users and 1 guest

cron