Skip to content

Commit 85f1114

Browse files
authored
Merge pull request #269872 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 3e972a6 + 62b0eaf commit 85f1114

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

articles/ai-services/speech-service/speech-synthesis-markup-pronunciation.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ The following XML example (not SSML) would be contained in a custom lexicon `.xm
147147
<alias>By the way</alias>
148148
</lexeme>
149149
<lexeme>
150-
<grapheme> Benigni </grapheme>
151-
<phoneme> bɛˈniːnji</phoneme>
150+
<grapheme>Benigni</grapheme>
151+
<phoneme>bɛˈniːnji</phoneme>
152152
</lexeme>
153153
<lexeme>
154154
<grapheme>😀</grapheme>
@@ -307,7 +307,26 @@ The XML syntax doesn't support the MathML entities, so you must use the correspo
307307
The text to speech output for this example is "a squared plus b squared equals c squared".
308308

309309
```xml
310-
<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xml:lang='en-US'><voice name='en-US-AvaMultilingualNeural'><math xmlns='http://www.w3.org/1998/Math/MathML'><msup><mi>a</mi><mn>2</mn></msup><mo>+</mo><msup><mi>b</mi><mn>2</mn></msup><mo>=</mo><msup><mi>c</mi><mn>2</mn></msup></math></voice></speak>
310+
<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xmlns:mstts='http://www.w3.org/2001/mstts' xml:lang='en-US'>
311+
<voice name='en-US-JennyNeural'>
312+
<math xmlns='http://www.w3.org/1998/Math/MathML'>
313+
<msup>
314+
<mi>a</mi>
315+
<mn>2</mn>
316+
</msup>
317+
<mo>+</mo>
318+
<msup>
319+
<mi>b</mi>
320+
<mn>2</mn>
321+
</msup>
322+
<mo>=</mo>
323+
<msup>
324+
<mi>c</mi>
325+
<mn>2</mn>
326+
</msup>
327+
</math>
328+
</voice>
329+
</speak>
311330
```
312331

313332
## Next steps

0 commit comments

Comments
 (0)