Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSML Examples used in Amazon Alexa Pronunciation Skill #68

Open
mhakkinen opened this issue Nov 10, 2020 · 1 comment
Open

SSML Examples used in Amazon Alexa Pronunciation Skill #68

mhakkinen opened this issue Nov 10, 2020 · 1 comment

Comments

@mhakkinen
Copy link
Contributor

The following are the examples used in the Alexa skill demonstrated in the TPAC video.

From reading my Geography book, I know of two cities with the name Reading... <emphasis level='strong'><prosody pitch='high'>ooops!</prosody></emphasis> <break time='200ms'/> I meant <phoneme alphabet='ipa' ph='ˈrɛdɪŋ'>Reading</phoneme>.

<phoneme alphabet='ipa' ph='vərˈseɪlz'>Versailles</phoneme>, Indiana, is not to be confused with the French city spelled the same way, Versailles.

<phoneme alphabet='ipa' ph='ˌrem-ˈde-sə-ˌvir'>Remdesivir</phoneme> is often mispronounced. It is spelled <break time='200ms'/> <say-as interpret-as='characters'>Remdesivir</say-as><break time='200ms'/>. I'll say it slowly, if that helps. <prosody rate='x-slow'><phoneme alphabet='ipa' ph='ˌrem-ˈde-sə-ˌvir'>Remdesivir</phoneme></prosody>.

The skill itself is not yet public.

@AutoSponge
Copy link
Contributor

Please check my work. I went for data-* JSON, data-* non-JSON, and custom element styles.

From reading my Geography book, I know of two cities with the name Reading... <emphasis level="strong"><prosody pitch="high">ooops!</prosody></emphasis> <break time="200ms"/> I meant <phoneme alphabet="ipa" ph="ˈrɛdɪŋ">Reading</phoneme>.

<phoneme alphabet="ipa" ph="vərˈseɪlz">Versailles</phoneme>, Indiana, is not to be confused with the French city spelled the same way, Versailles.

<phoneme alphabet="ipa" ph="ˌrem-ˈde-sə-ˌvir">Remdesivir</phoneme> is often mispronounced. It is spelled <break time="200ms"/> <say-as interpret-as="characters">Remdesivir</say-as><break time="200ms"/>. I"ll say it slowly, if that helps. <prosody rate="x-slow"><phoneme alphabet="ipa" ph="ˌrem-ˈde-sə-ˌvir">Remdesivir</phoneme></prosody>.

<!-- second group -->

From reading my Geography book, I know of two cities with the name Reading... <span data-ssml='{"emphasis" : {"level":"strong"}, "prosody": {"pitch": "high"}}'>ooops!</span> <span data-ssml='{"break": {"time": "200ms"}}'></span> I meant <span data-ssml='{"phoneme": {"alphabet": "ipa", "ph": "ˈrɛdɪŋ"}}'>Reading</span>.

<span data-ssml='{"phoneme": {"alphabet": "ipa", "ph": "vərˈseɪlz"}}'>Versailles</span>, Indiana, is not to be confused with the French city spelled the same way, Versailles.

<span data-ssml='{"phoneme": {"alphabet": "ipa", "ph": "ˌrem-ˈde-sə-ˌvir"}}'>Remdesivir</span> is often mispronounced. It is spelled <span data-ssml='{"break": {"time": "200ms"}}'></span> <span data-ssml='{"say-as": {"interpret-as": "characters"}}'>Remdesivir</span><span data-ssml='{"break": {"time": "200ms"}}'></span>. I"ll say it slowly, if that helps. <span data-ssml='{"phoneme": {"alphabet": "ipa", "ph": "ˌrem-ˈde-sə-ˌvir"}, "prosody":{"rate": "x-slow"}}'>Remdesivir</span>.

<!-- third group -->

From reading my Geography book, I know of two cities with the name Reading... <span data-ssml-emphasis-level="strong" data-ssml-prosody-pitch="high">ooops!</span> <span data-ssml-break-time="200ms"></span> I meant <span data-ssml-phoneme-alphabet="ipa" data-ssml-phoneme-ph="ˈrɛdɪŋ">Reading</span>.

<span data-ssml-phoneme-alphabet="ipa" data-ssml-phoneme-ph="vərˈseɪlz">Versailles</span>, Indiana, is not to be confused with the French city spelled the same way, Versailles.

<span data-ssml-phoneme-alphabet="ipa" data-ssml-phoneme-ph="ˌrem-ˈde-sə-ˌvir">Remdesivir</span> is often mispronounced. It is spelled <span data-ssml-break-time="200ms"></span> <span data-ssml-say-as-interpret-as="characters">Remdesivir</span><span data-ssml-break-time="200ms"></span>. I"ll say it slowly, if that helps. <span data-ssml-phoneme-alphabet="ipa" data-ssml-phoneme-ph="ˌrem-ˈde-sə-ˌvir" data-ssml-prosody-rate="x-slow">Remdesivir</span>.

<!-- fourth group -->

From reading my Geography book, I know of two cities with the name Reading... <ssml-emphasis level="strong"><ssml-prosody pitch="high">ooops!</ssml-prosody></ssml-emphasis> <ssml-break time="200ms"/> I meant <ssml-phoneme alphabet="ipa" ph="ˈrɛdɪŋ">Reading</ssml-phoneme>.

<ssml-phoneme alphabet="ipa" ph="vərˈseɪlz">Versailles</ssml-phoneme>, Indiana, is not to be confused with the French city spelled the same way, Versailles.

<ssml-phoneme alphabet="ipa" ph="ˌrem-ˈde-sə-ˌvir">Remdesivir</ssml-phoneme> is often mispronounced. It is spelled <ssml-break time="200ms"/> <ssml-say-as interpret-as="characters">Remdesivir</ssml-say-as><ssml-break time="200ms"/>. I"ll say it slowly, if that helps. <ssml-prosody rate="x-slow"><ssml-phoneme alphabet="ipa" ph="ˌrem-ˈde-sə-ˌvir">Remdesivir</ssml-phoneme></ssml-prosody>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants