Есть ли магические персонажи в Twilio глаголы

StackOverflow https://stackoverflow.com/questions/4971578

  •  12-11-2019
  •  | 
  •  

Вопрос

Есть ли какие-либо другие символы, которые я могу использовать в <Say> verb , чтобы помочьПроизношение (при условии, что у меня слишком много вариантов просто записывать их все как MP3).

До сих пор все, что я нашел, это дефин, чтобы помочь с правильно обнаружение слогов: Adgrok произносится «Addbrokeke», но «Ad-Grok» произносится правильно.«Pagerduty» - «Pahdgerduty», но «Pager-Duty» правильно. Капиталы

Капиталы, кажется, бессмысленные, а пробелы могут ввести странность: «Мон Р. Аль».произносится "Монт Релабама"

Это было полезно?

Решение

Unfortunately, at this time there are no special punctuation marks that can help with pronunciation.

Другие советы

I use spaces and periods sometimes but other that that it can be hard when you are using trade names. Another trick is I wanted it to say mysite.com so i typed "mysite dot com" or spelling out numbers five for 5. I think a lot of it comes down to trial and error.

The standard for doing this is SSML (http://www.w3.org/TR/speech-synthesis/). While Twilio does not support this, Tropo does with their speech synthesis verb 'say'. So, you may do something like this:

answer 
say "<speak> I like squirrels!. 
I <prosody rate='-10%'>like squirrels!</prosody> 
I <prosody rate='-30%'>like squirrels!</prosody>  
I <prosody rate='-50%'>like squirrels!</prosody> 
</speak>"  
hangup
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top