question

xbz-0730 avatar image
0 Votes"
xbz-0730 asked romungi-MSFT commented

jenny-multilangual can not synthesis Japanse and Chinese Mandarin?

such as the hybrid text of Chinese and English: 有志者,where is the will, 事竟成1000,where is the way 1000。
Japanese: ホッカホッカ!プリプリのシャクシャ

azure-speech
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@xbz-0730 Does the below response help you use the multi lingual voice to speak correctly?

0 Votes 0 ·

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@xbz-0730 If you would like to include multiple languages in an SSML then you can include the <lang> tag to get it processed. For example:

 <speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3.org/2001/mstts" xmlns:emo="http://www.w3.org/2009/10/emotionml" version="1.0" xml:lang="en-US">
    <voice name="Microsoft Server Speech Text to Speech Voice (en-US, JennyMultilingualNeural)">I am looking forward to the exciting things. 
         <lang xml:lang="es-MX"> Estoy deseando que lleguen las cosas emocionantes </lang> 
         <lang xml:lang="de-DE">Ich freue mich auf die spannenden Dinge.</lang>
        <lang xml:lang="zh-CN"> 事竟成 </lang>
        <lang xml:lang="ja-JP"> ホッカホッカ!プリプリのシャクシャ </lang> 
        Hello there <lang xml:lang="zh-CN"> 谢谢你 </lang>
    </voice>
 </speak>

Please refer to the documentation for more details.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.