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 !

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

    Random posts

    Home
    Search
    Bookmark