Skip to content

Commit ea228ec

Browse files
Update personal-voice-how-to-use.md
1 parent 247cc9d commit ea228ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/speech-service/personal-voice-how-to-use.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ You need to use [speech synthesis markup language (SSML)](./speech-synthesis-mar
3030

3131
- For personal voice, you can use the `<lang xml:lang>` element to adjust the speaking language. It's the same as with multilingual voices. See [how to use the lang element to speak different languages](speech-synthesis-markup-voice.md#lang-examples).
3232

33-
Here's example SSML in a request for text to speech with the voice name and the speaker profile ID. The sample also demonstrates how to switch languages from `en-US` to `zh-CN` using the `<lang xml:lang>` element.
33+
Here's example SSML in a request for text to speech with the voice name and the speaker profile ID. The sample also demonstrates how to switch languages from `en-US` to `zh-HK` using the `<lang xml:lang>` element.
3434

3535
```xml
3636
<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xml:lang='en-US'>
3737
<voice name='DragonLatestNeural'>
3838
<mstts:ttsembedding speakerProfileId='your speaker profile ID here'>
3939
I'm happy to hear that you find me amazing and that I have made your trip planning easier and more fun.
40-
<lang xml:lang='zh-HK'>我很高兴听到你觉得我很了不起,我让你的旅行计划更轻松、更有趣。</lang>
40+
<lang xml:lang='zh-HK'>我很高興聽到你覺得我很了不起,我讓你的旅行計劃更輕鬆、更有趣。</lang>
4141
</mstts:ttsembedding>
4242
</voice>
4343
</speak>

0 commit comments

Comments
 (0)