Language pt-BR

Questions and answers about IVR programming with VoiceXML

Moderators: support, admin

Language pt-BR

Postby sisinternet » Fri Mar 19, 2010 4:58 pm

Hello,

We ask that the language was habilta pt-BR on our account.

Today we received the return that was enabled when more test verified that the log was not enabled, the following error.

###############################################################

Message from ASR engine:

---------

SWI_ERROR_GENERIC| error| canonicalizeDefaultLanguage | Unable to load language 'pt-BR'!

---------
bargein set to true

INPUTMODES set to "DTMF VOICE"

Audio segment added to prompt queue from TTS application/synthesis+ssml for:

---------

<?xml version='1.0'?><speak>

A serious error of type </speak>
---------

bargein set to true

INPUTMODES set to "DTMF VOICE"

Audio segment added to prompt queue from TTS application/synthesis+ssml for:

---------

<?xml version='1.0'?><speak>error.grammar.choice</speak>

---------

bargein set to true

INPUTMODES set to "DTMF VOICE"

Audio segment added to prompt queue from TTS application/synthesis+ssml for:

---------

<?xml version='1.0'?><speak> has occurred. Exiting. </speak>

---------

VXI::exit_element()

starting playback: bargein=true, inputmodes="dtmf speech"

Newly queued prompts are now being played
###############################################################

Could you please check.

Thank´s
sisinternet
 
Posts: 8
Joined: Fri Mar 19, 2010 4:46 pm

Re: Language pt-BR

Postby support » Mon Mar 22, 2010 9:51 am

Hi,

Could you please provide the code that you are using to test this IVR issue?

We have tested the following code and have found no issues:

rsprosodytest.php:
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
    <form>
        <block>
            <prompt>
                This sentence uses the default prosody settings.
                    <speak xml:lang="pt-BR"><voice name="Raquel" gender="female">
                      <prosody volume="25.0">
                        Olá!. Meu nome é Raquel. O tempo está hoje ensolarado.
                      </prosody>
                    </voice></speak>
            </prompt>
        </block>
    </form>
</vxml>


Regards,
Plum Support
Plum Voice IVR Solutions
IVR Hosting, Systems and Professional Services
Visit: http://www.plumvoice.com
support
 
Posts: 2480
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA

Re: Language pt-BR

Postby sisinternet » Mon Mar 22, 2010 12:19 pm

Here is a snippet:

Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<vxml version="2.1" xml:lang="pt-BR">
  <!-- INICIO MENU -->
  <menu dtmf="false" scope="dialog" id="menuPrincipal">
    <prompt bargein="true">
      Seja bem vindo ao portal de voz da Brascargo.
      Fale a qualquer momento.

      Entregas.
      Coletas.
      Baixas.
      Armazenagens.
      Contatos.
      Repetir opções.
    </prompt>
    <choice next="#entrega">Entrega</choice>
    <choice next="#coleta">Coleta</choice>
    <choice next="#baixa">Baixa</choice>
    <choice next="#servicoIndisponivel">Armazenagen</choice>
    <choice next="#contatos">Contatos</choice>
    <choice next="#menuPrincipal">Repetir opcoes</choice>
    <choice next="#menuPrincipal">Repetir</choice>
    <choice next="#menuPrincipal">Opcoes</choice>
  </menu>
  <!-- FIM MENU -->

  <!-- INICIO MENU ENTREGA -->
  <menu dtmf="false" scope="dialog" id="entrega">
    <prompt bargein="true">
      Consulta Simples.
      Consulta Detalhada.
      Consulta via S,M,S.
    </prompt>
    <choice next="Consultas/SimplesNF.aspx">Consulta Simples</choice>
    <choice next="Consultas/SimplesNF.aspx">Simples</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Consulta Detalhada</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Detalhada</choice>
    <choice next="#servicoIndisponivel">Consulta via SMS</choice>
    <choice next="#servicoIndisponivel">Via SMS</choice>
    <choice next="#servicoIndisponivel">SMS</choice>
  </menu>
  <!-- FIM MENU ENTREGA --> 
</vxml>




Following the structure that sent sample is pronounced in Portuguese but the option to speak is not recognized.

Code: Select all
<?xml version="1.0" encoding="ISO-8859-1"?>
<vxml version="2.1" xml:lang="pt-BR">
  <!-- INICIO MENU -->
  <menu dtmf="false" scope="dialog" id="menuPrincipal">
    <prompt bargein="true">
      <speak xml:lang="pt-BR">
      <voice name="Raquel" gender="female">
      <prosody volume="25.0">
        Seja bem vindo ao portal de voz da Brascargo.
        Fale a qualquer momento.

        Entregas.
        Coletas.
        Baixas.
        Armazenagens.
        Contatos.
        Repetir opções.
      </prosody>
      </voice>
      </speak>
    </prompt>
    <choice next="#entrega">Entrega</choice>
    <choice next="#coleta">Coleta</choice>
    <choice next="#baixa">Baixa</choice>
    <choice next="#servicoIndisponivel">Armazenagen</choice>
    <choice next="#contatos">Contatos</choice>
    <choice next="#menuPrincipal">Repetir opcoes</choice>
    <choice next="#menuPrincipal">Repetir</choice>
    <choice next="#menuPrincipal">Opcoes</choice>
  </menu>
  <!-- FIM MENU -->

  <!-- INICIO MENU ENTREGA -->
  <menu dtmf="false" scope="dialog" id="entrega">
    <prompt bargein="true">
      Consulta Simples.
      Consulta Detalhada.
      Consulta via S,M,S.
    </prompt>
    <choice next="Consultas/SimplesNF.aspx">Consulta Simples</choice>
    <choice next="Consultas/SimplesNF.aspx">Simples</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Consulta Detalhada</choice>
    <choice next="Consultas/DetalhadaNF.aspx">Detalhada</choice>
    <choice next="#servicoIndisponivel">Consulta via SMS</choice>
    <choice next="#servicoIndisponivel">Via SMS</choice>
    <choice next="#servicoIndisponivel">SMS</choice>
  </menu>
  <!-- FIM MENU ENTREGA --> 
</vxml>
sisinternet
 
Posts: 8
Joined: Fri Mar 19, 2010 4:46 pm

Re: Language pt-BR

Postby support » Mon Mar 22, 2010 1:25 pm

Hi,

The reason you are encountering this error is because you are attempting to do Portuguese speech recognition for your IVR application. This is noted within this line in your IVR code:

Code: Select all
<vxml version="2.1" xml:lang="pt-BR">


Currently, we do not support pt-BR as a speech recognition option for our IVR platform, as noted here under US production hosting:

For speech recognition, we currently only offer American English speech recogition, Spanish speech recognition, French-Canadian speech recognition for hosting. If you are interested in any other speech recognition languages, please contact your sales representative.


Please do not confuse this with pt-BR as a Realspeak text-to-speech (TTS) voice that is available for hosting.

Regards,
Plum Support
Plum Voice IVR Solutions
IVR Hosting, Systems and Professional Services
Visit: http://www.plumvoice.com
support
 
Posts: 2480
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA


Return to VoiceXML IVR Developer Q&A

Who is online

Users browsing this forum: No registered users and 2 guests