How can I use the phoneme in zh-TW?

LucienMJ 1 Reputation point

Thank you for watching this issue.
I'm trying to solve the same word has different pronounces in zh-TW.
I use <phoneme alphabet="sapi" ph=" "></phoneme> , but it returns error.
I refer this page.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,343 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 41,841 Reputation points Microsoft Employee

    @LucienMJ Apologies for any issues with the usage of words in the below example, I have used this only as a context to check if phoneme works with zh-TW as I am not a native speaker of chinese(taiwan)

    I have used this an example to set phoneme for one of the words from the studio and it seems to work.

    <phoneme alphabet="sapi" ph="ㄧㄚ">家</phoneme>

    My SSML was set as the following:

    <speak xmlns="" xmlns:mstts="" xmlns:emo="" version="1.0" xml:lang="zh-TW"><voice name="zh-TW-HsiaoChenNeural">客<phoneme alphabet="sapi" ph="ㄧㄚ">家</phoneme>語;</voice></speak>


    Have you tried to use the studio and set the phoneme for zh-TW?

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.