Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
Los fonemas SSML funcionan bien en el simulador de servicio de Alexa pero no funcionan en el hardware de Echo

Estoy creando una habilidad simple de Alexa y quiero usar SSML para pronunciar correctamente algunas palabras que no están en inglés. Si bien todo funciona bien en Amazon Service Simulator, no puedo hacerlo funcionar en el hardware real de Amazon Echo.

Por ejemplo, envío la siguiente respuesta del servicio Lambda:

 var cardTitle = "Test" var speechOutput = "Test 1, red stick in French is <phoneme alphabet=\"ipa\" ph=\"bɑˈtɔn ˈɹuʒ\">baton rouge</phoneme>" callback(session.attributes, buildSpeechletResponse(cardTitle, speechOutput, "", true));

Amazon Service Simulator muestra la respuesta recibida como:

 { "version": "1.0", "response": { "outputSpeech": { "type": "PlainText", "text": "Test 1, red stick in French is <phoneme alphabet=\"ipa\" ph=\"bɑˈtɔn ˈɹuʒ\">baton rouge</phoneme>" }, "reprompt": { "outputSpeech": { "type": "PlainText", "text": "" } }, "shouldEndSession": true }, "sessionAttributes": {} }

Si hago clic en " Escuchar " en el Simulador de servicio , la respuesta se escribe correctamente, como Prueba 1, el palo rojo en francés es baton rouge .

Sin embargo, cuando pruebo la misma habilidad en el hardware real de Echo Dot, la respuesta es: Prueba 1, la barra roja en francés es el alfabeto de fonemas es igual a ipa ph es igual...

¿Alguna idea de lo que estoy haciendo mal?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Creo que solo necesitas cambiar:

 "type": "PlainText"

ser - estar

 "type" "SSML"
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!