Amazon Alexa

Using SSML to talk Multiple Languages by your Alexa Skill

Sometimes, we want to talk multiple languages content by your Alexa Skill.But if you using Amazon Polly voice, […]

広告ここから
広告ここまで

Sometimes, we want to talk multiple languages content by your Alexa Skill.
But if you using Amazon Polly voice, there is a small difference between Alexa and Amazon Polly.
So the post is how to talk multiple languages content by using SSML without Amazon Polly.

Tools

How to

You can make a multiple languages content by SSML tag that name is “phoneme”.
The tag has the alphabet attributes and ph attributes.

  • First, you should put the ipastring into the alphabet attributes. Then you can define the voice pronunciation by IPA.
  • Finally, you can put your content’s pronunciation that written in IPA into the ph attributes.

Example

There is an example SSML markup.
The speaker will talk about the content in English, Japanese, and Spanish.

<speak>
<p>Hello!</p>
<p>In Japanese, <phoneme alphabet="ipa" ph="konnichiwa">こんにちは</phoneme></p>
<p>In Spanish, <phoneme alphabet="ipa" ph="/ˈo.la/">hola</phoneme></p>
</speak>

Example product

I have released a skill that using the tips.
The skill will tell us some Japanese Kanji in English.

Today kanji skill in Amazon.com

Happy Coding !

ブックマークや限定記事(予定)など

WP Kyotoサポーター募集中

WordPressやフロントエンドアプリのホスティング、Algolia・AWSなどのサービス利用料を支援する「WP Kyotoサポーター」を募集しています。
月額または年額の有料プランを契約すると、ブックマーク機能などのサポーター限定機能がご利用いただけます。

14日間のトライアルも用意しておりますので、「このサイトよく見るな」という方はぜひご検討ください。

広告ここから
広告ここまで

Related Category posts