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-synthesis-markup-pronunciation.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
@@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: speech-service
10
10
ms.topic: how-to
11
-
ms.date: 11/21/2022
11
+
ms.date: 11/30/2022
12
12
ms.author: eur
13
13
---
14
14
@@ -104,7 +104,7 @@ To define how multiple entities are read, you can define them in a custom lexico
104
104
105
105
Here are some limitations of the custom lexicon file:
106
106
107
-
-**File size**: The custom lexicon file size is limited to a maximum of 100 KB. If the file size exceeds the 100KB limit, the synthesis request fails.
107
+
-**File size**: The custom lexicon file size is limited to a maximum of 100 KB. If the file size exceeds the 100-KB limit, the synthesis request fails.
108
108
-**Lexicon cache refresh**: The custom lexicon is cached with the URI as the key on text-to-speech when it's first loaded. The lexicon with the same URI won't be reloaded within 15 minutes, so the custom lexicon change needs to wait 15 minutes at the most to take effect.
109
109
110
110
The supported elements and attributes of a custom lexicon XML file are described in the [Pronunciation Lexicon Specification (PLS) Version 1.0](https://www.w3.org/TR/pronunciation-lexicon/). Here are some examples of the supported elements and attributes:
@@ -279,12 +279,12 @@ The Mathematical Markup Language (MathML) is an XML-compliant markup language th
279
279
280
280
All elements from the [MathML 2.0](https://www.w3.org/TR/MathML2/) and [MathML 3.0](https://www.w3.org/TR/MathML3/) specifications are supported, except the MathML 3.0 [Elementary Math](https://www.w3.org/TR/MathML3/chapter3.html#presm.elementary) elements.
281
281
282
-
Please take note of these MathML elements and attributes:
282
+
Take note of these MathML elements and attributes:
283
283
- The `xmlns` attribute in `<math xmlns="http://www.w3.org/1998/Math/MathML">` is optional.
284
-
- The `semantics`, `annotation`, and `annotation-xml` elements don't output speech, so they are ignored.
285
-
- If an element is not recognized, it will be ignored, and the child elements within it will still be processed.
284
+
- The `semantics`, `annotation`, and `annotation-xml` elements don't output speech, so they're ignored.
285
+
- If an element isn't recognized, it will be ignored, and the child elements within it will still be processed.
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/speech-synthesis-markup-structure.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: speech-service
10
10
ms.topic: how-to
11
-
ms.date: 11/21/2022
11
+
ms.date: 11/30/2022
12
12
ms.author: eur
13
13
---
14
14
@@ -75,7 +75,7 @@ The Speech service automatically handles punctuation as appropriate, such as pau
75
75
76
76
Special characters such as quotation marks, apostrophes, and brackets, must be escaped. For more information, see [Extensible Markup Language (XML) 1.0: Appendix D](https://www.w3.org/TR/xml/#sec-entexpand).
77
77
78
-
Attribute values must be enclosed by double quotation marks. For example, `<prosody volume="90">` is a well-formed, valid element, but `<prosody volume=90>`will not be recognized.
78
+
Attribute values must be enclosed by double quotation marks. For example, `<prosody volume="90">` is a well-formed, valid element, but `<prosody volume=90>`won't be recognized.
79
79
80
80
## Speak root element
81
81
@@ -184,7 +184,7 @@ The `p` and `s` elements are used to denote paragraphs and sentences, respective
184
184
185
185
### Paragraph and sentence examples
186
186
187
-
The following example defines two paragraphs that each contain sentences. In the second paragraph, the Speech service automatically determines the sentence structure, since they are not defined in the SSML document.
187
+
The following example defines two paragraphs that each contain sentences. In the second paragraph, the Speech service automatically determines the sentence structure, since they aren't defined in the SSML document.
@@ -203,7 +203,7 @@ The following example defines two paragraphs that each contain sentences. In the
203
203
204
204
## Bookmark element
205
205
206
-
You can use the `bookmark` element in SSML to reference a specific location in the text or tag sequence. Then you will use the Speech SDK and subscribe to the `BookmarkReached` event to get the offset of each marker in the audio stream. The `bookmark` element won't be spoken. For more information, see [Subscribe to synthesizer events](how-to-speech-synthesis.md#subscribe-to-synthesizer-events).
206
+
You can use the `bookmark` element in SSML to reference a specific location in the text or tag sequence. Then you'll use the Speech SDK and subscribe to the `BookmarkReached` event to get the offset of each marker in the audio stream. The `bookmark` element won't be spoken. For more information, see [Subscribe to synthesizer events](how-to-speech-synthesis.md#subscribe-to-synthesizer-events).
207
207
208
208
Usage of the `bookmark` element's attributes are described in the following table.
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/speech-synthesis-markup-voice.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: speech-service
10
10
ms.topic: how-to
11
-
ms.date: 11/21/2022
11
+
ms.date: 11/30/2022
12
12
ms.author: eur
13
13
---
14
14
@@ -235,7 +235,7 @@ The supported values for attributes of the `lang` element were [described previo
235
235
236
236
The primary language for `en-US-JennyMultilingualNeural` is `en-US`. You must specify `en-US` as the default language within the `speak` element, whether or not the language is adjusted elsewhere.
237
237
238
-
This SSML snippet shows how use the `lang` element (and `xml:lang` attribute) to speak `de-DE` with the `en-US-JennyMultilingualNeural` neural voice.
238
+
This SSML snippet shows how to use the `lang` element (and `xml:lang` attribute) to speak `de-DE` with the `en-US-JennyMultilingualNeural` neural voice.
0 commit comments