You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/speech-ssml-phonetic-sets.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Phonetic alphabets are used with the [Speech Synthesis Markup Language (SSML)](s
18
18
19
19
## Speech service phonetic alphabet
20
20
21
-
For some locales, the Speech service defines its own phonetic alphabets that typically map to the <ahref="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet"target="_blank">International Phonetic Alphabet (IPA)</a>. The 7 locales that support `sapi` are: `en-US`, `fr-FR`, `de-DE`, `es-ES`, `ja-JP`, `zh-CN`, and `zh-TW`.
21
+
For some locales, the Speech service defines its own phonetic alphabets that typically map to the [International Phonetic Alphabet (IPA)](https://en.wikipedia.org/wiki/International_Phonetic_Alphabet). The 7 locales that support `sapi` are: `en-US`, `fr-FR`, `de-DE`, `es-ES`, `ja-JP`, `zh-CN`, and `zh-TW`.
22
22
23
23
You set `sapi` or `ipa` as the `alphabet` in [SSML](speech-synthesis-markup.md#use-phonemes-to-improve-pronunciation).
24
24
@@ -293,7 +293,7 @@ The Speech service phone set puts stress after the vowel of the stressed syllabl
293
293
| ^ |`ʔ`| beachtlich /b ax - ^ a 1 x t - l ih c/ |
294
294
295
295
> [!NOTE]
296
-
> We need to add a [gs\] phone between two distinct vowels, except the two vowels are a genuine diphthong. This oral consonant is a glottal stop, for more information, see <ahref="http://en.wikipedia.org/wiki/Glottal_stop"target="_blank">glottal stop <spanclass="docon docon-navigate-external x-hidden-focus"></a></a>.
296
+
> We need to add a [gs\] phone between two distinct vowels, except the two vowels are a genuine diphthong. This oral consonant is a glottal stop, for more information, see [glottal stop](http://en.wikipedia.org/wiki/Glottal_stop).
297
297
298
298
### [es-ES](#tab/es-ES)
299
299
@@ -341,7 +341,7 @@ The Speech service phone set puts stress after the vowel of the stressed syllabl
341
341
342
342
### [zh-CN](#tab/zh-CN)
343
343
344
-
The Speech service phone set for `zh-CN` is based on the native phone <ahref="https://en.wikipedia.org/wiki/Pinyin"target="_blank">Pinyin </a> set.
344
+
The Speech service phone set for `zh-CN` is based on the native phone [Pinyin](https://en.wikipedia.org/wiki/Pinyin).
345
345
346
346
#### Tone
347
347
@@ -363,7 +363,7 @@ The Speech service phone set for `zh-CN` is based on the native phone <a href="h
363
363
364
364
### [zh-TW](#tab/zh-TW)
365
365
366
-
The Speech service phone set for `zh-TW` is based on the native phone <ahref="https://en.wikipedia.org/wiki/Bopomofo"target="_blank">Bopomofo </a> set.
366
+
The Speech service phone set for `zh-TW` is based on the native phone [Bopomofo](https://en.wikipedia.org/wiki/Bopomofo).
367
367
368
368
#### Tone
369
369
@@ -385,7 +385,7 @@ The Speech service phone set for `zh-TW` is based on the native phone <a href="h
385
385
386
386
### [ja-JP](#tab/ja-JP)
387
387
388
-
The Speech service phone set for `ja-JP` is based on the native phone <ahref="https://en.wikipedia.org/wiki/Kana"target="_blank">Kana </a> set.
388
+
The Speech service phone set for `ja-JP` is based on the native phone [Kana](https://en.wikipedia.org/wiki/Kana) set.
389
389
390
390
#### Stress
391
391
@@ -407,7 +407,7 @@ The Speech service phone set for `ja-JP` is based on the native phone <a href="h
407
407
408
408
## International Phonetic Alphabet
409
409
410
-
For the locales below, the Speech service uses the <ahref="https://en.wikipedia.org/wiki/International_Phonetic_Alphabet"target="_blank">International Phonetic Alphabet (IPA)</a>.
410
+
For the locales below, the Speech service uses the [International Phonetic Alphabet (IPA)](https://en.wikipedia.org/wiki/International_Phonetic_Alphabet).
411
411
412
412
You set `ipa` as the `alphabet` in [SSML](speech-synthesis-markup.md#use-phonemes-to-improve-pronunciation).
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/speech-synthesis-markup.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -440,7 +440,7 @@ Phonetic alphabets are composed of phones, which are made up of letters, numbers
440
440
441
441
| Attribute | Description | Required / Optional |
442
442
|-----------|-------------|---------------------|
443
-
|`alphabet`| Specifies the phonetic alphabet to use when synthesizing the pronunciation of the string in the `ph` attribute. The string specifying the alphabet must be specified in lowercase letters. The following are the possible alphabets that you can specify.<ul><li>`ipa`–[International Phonetic Alphabet](speech-ssml-phonetic-sets.md#speech-service-phonetic-alphabet)</li><li>`sapi`–[Speech service phonetic alphabet](speech-ssml-phonetic-sets.md#speech-service-phonetic-alphabet)</li><li>`ups`–<ahref="https://documentation.help/Microsoft-Speech-Platform-SDK-11/17509a49-cae7-41f5-b61d-07beaae872ea.htm"target="_blank"> Universal Phone Set</a></li></ul><br>The alphabet applies only to the `phoneme` in the element.| Optional |
443
+
|`alphabet`| Specifies the phonetic alphabet to use when synthesizing the pronunciation of the string in the `ph` attribute. The string specifying the alphabet must be specified in lowercase letters. The following are the possible alphabets that you can specify.<ul><li>`ipa`–[International Phonetic Alphabet](speech-ssml-phonetic-sets.md#speech-service-phonetic-alphabet)</li><li>`sapi`–[Speech service phonetic alphabet](speech-ssml-phonetic-sets.md#speech-service-phonetic-alphabet)</li><li>`ups`–[Universal Phone Set](https://documentation.help/Microsoft-Speech-Platform-SDK-11/17509a49-cae7-41f5-b61d-07beaae872ea.htm)</li></ul><br>The alphabet applies only to the `phoneme` in the element.| Optional |
444
444
|`ph`| A string containing phones that specify the pronunciation of the word in the `phoneme` element. If the specified string contains unrecognized phones, the Text-to-Speech (TTS) service rejects the entire SSML document and produces none of the speech output specified in the document. | Required if using phonemes. |
445
445
446
446
**Examples**
@@ -519,7 +519,7 @@ To define how multiple entities are read, you can create a custom lexicon, which
519
519
</lexicon>
520
520
```
521
521
522
-
The `lexicon` element contains at least one `lexeme` element. Each `lexeme` element contains at least one `grapheme` element and one or more `grapheme`, `alias`, and `phoneme` elements. The `grapheme` element contains text describing the <ahref="https://www.w3.org/TR/pronunciation-lexicon/#term-Orthography"target="_blank">orthography </a>. The `alias` elements are used to indicate the pronunciation of an acronym or an abbreviated term. The `phoneme` element provides text describing how the `lexeme` is pronounced. When `alias` and `phoneme` element are provided with the same `grapheme` element, `alias` has higher priority.
522
+
The `lexicon` element contains at least one `lexeme` element. Each `lexeme` element contains at least one `grapheme` element and one or more `grapheme`, `alias`, and `phoneme` elements. The `grapheme` element contains text describing the [orthography](https://www.w3.org/TR/pronunciation-lexicon/#term-Orthography). The `alias` elements are used to indicate the pronunciation of an acronym or an abbreviated term. The `phoneme` element provides text describing how the `lexeme` is pronounced. When `alias` and `phoneme` element are provided with the same `grapheme` element, `alias` has higher priority.
523
523
524
524
> [!IMPORTANT]
525
525
> The `lexeme` element is case sensitive in custom lexicon. For example, if you only provide a phoneme for `lexeme` 'Hello', it will not work for `lexeme` 'hello'.
@@ -864,7 +864,7 @@ You can subscribe to the `BookmarkReached` event in Speech SDK to get the bookma
864
864
865
865
# [C#](#tab/csharp)
866
866
867
-
For more information, see <ahref="/dotnet/api/microsoft.cognitiveservices.speech.speechsynthesizer.bookmarkreached"target="_blank"> `BookmarkReached` </a>.
867
+
For more information, see [`BookmarkReached`](/dotnet/api/microsoft.cognitiveservices.speech.speechsynthesizer.bookmarkreached).
For more information, see <ahref="/java/api/com.microsoft.cognitiveservices.speech.speechsynthesizer.bookmarkReached#com_microsoft_cognitiveservices_speech_SpeechSynthesizer_BookmarkReached"target="_blank"> `BookmarkReached` </a>.
906
+
For more information, see [`BookmarkReached`](/java/api/com.microsoft.cognitiveservices.speech.speechsynthesizer.bookmarkReached#com_microsoft_cognitiveservices_speech_SpeechSynthesizer_BookmarkReached).
For more information, see <ahref="/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechsynthesizer#bookmark-reached"target="_blank"> `bookmark_reached` </a>.
924
+
For more information, see [`bookmark_reached`](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechsynthesizer#bookmark-reached).
925
925
926
926
```python
927
927
# The unit of evt.audio_offset is tick (1 tick = 100 nanoseconds), divide it by 10,000 to convert to milliseconds.
For more information, see <ahref="/javascript/api/microsoft-cognitiveservices-speech-sdk/speechsynthesizer#bookmarkReached"target="_blank"> `bookmarkReached`</a>.
940
+
For more information, see [`bookmarkReached`](/javascript/api/microsoft-cognitiveservices-speech-sdk/speechsynthesizer#bookmarkReached).
941
941
942
942
```javascript
943
943
synthesizer.bookmarkReached=function (s, e) {
@@ -953,7 +953,7 @@ For the example SSML above, the `bookmarkReached` event will be triggered twice,
953
953
954
954
# [Objective-C](#tab/objectivec)
955
955
956
-
For more information, see <ahref="/objectivec/cognitive-services/speech/spxspeechsynthesizer#addbookmarkreachedeventhandler"target="_blank"> `addBookmarkReachedEventHandler` </a>.
956
+
For more information, see [`addBookmarkReachedEventHandler`](/objectivec/cognitive-services/speech/spxspeechsynthesizer#addbookmarkreachedeventhandler).
0 commit comments