Skip to content

Commit 8ea30b9

Browse files
committed
edits per Jan
1 parent aca3d74 commit 8ea30b9

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

articles/cognitive-services/Speech-Service/speech-container-cstt.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The tags are also available [in JSON format](https://mcr.microsoft.com/v2/azure-
6363

6464
### Get the container image with docker pull
6565

66-
You need the [prerequisites](speech-container-howto.md#prerequisites).
66+
You need the [prerequisites](speech-container-howto.md#prerequisites) including required hardware. Please also see the [recommended allocation of resources](speech-container-howto.md#container-requirements-and-recommendations) for each Speech container.
6767

6868
Use the [docker pull](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry:
6969

@@ -279,10 +279,6 @@ sudo chown -R nonroot:nonroot <YOUR_LOCAL_MACHINE_PATH_1> <YOUR_LOCAL_MACHINE_PA
279279
---
280280

281281

282-
### Custom pronunciation on the custom speech-to-text container
283-
284-
You can get custom pronunciation results in the output. All you need to do is have your own custom pronunciation rules set up in your custom model and mount the model to a custom-speech-to-text container.
285-
286282
## Use the container
287283

288284
[!INCLUDE [Speech container authentication](includes/containers-speech-config-ws.md)]

articles/cognitive-services/Speech-Service/speech-container-lid.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The tags are also available [in JSON format](https://mcr.microsoft.com/v2/azure-
6666

6767
## Get the container image with docker pull
6868

69-
You need the [prerequisites](speech-container-howto.md#prerequisites).
69+
You need the [prerequisites](speech-container-howto.md#prerequisites) including required hardware. Please also see the [recommended allocation of resources](speech-container-howto.md#container-requirements-and-recommendations) for each Speech container.
7070

7171
Use the [docker pull](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry:
7272

@@ -91,7 +91,7 @@ When you run the Speech language identification container, configure the port, m
9191
Here's an example `docker run` command with placeholder values. You must specify the `ENDPOINT_URI` and `API_KEY` values:
9292

9393
```bash
94-
docker run --rm -it -p 5003:5003 --memory 1g --cpus 1 \
94+
docker run --rm -it -p 5000:5003 --memory 1g --cpus 1 \
9595
mcr.microsoft.com/azure-cognitive-services/speechservices/language-detection \
9696
Eula=accept \
9797
Billing={ENDPOINT_URI} \
@@ -102,7 +102,7 @@ This command:
102102

103103
* Runs a Speech language identification container from the container image.
104104
* Allocates 1 CPU core and 1 GB of memory.
105-
* Exposes TCP port 5003 and allocates a pseudo-TTY for the container.
105+
* Exposes TCP port 5000 and allocates a pseudo-TTY for the container.
106106
* Automatically removes the container after it exits. The container image is still available on the host computer.
107107

108108
For more information about `docker run` with Speech containers, see [Install and run Speech containers with Docker](speech-container-howto.md#run-the-container).

articles/cognitive-services/Speech-Service/speech-container-ntts.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The tags are also available [in JSON format](https://mcr.microsoft.com/v2/azure-
6464
6565
## Get the container image with docker pull
6666

67-
You need the [prerequisites](speech-container-howto.md#prerequisites).
67+
You need the [prerequisites](speech-container-howto.md#prerequisites) including required hardware. Please also see the [recommended allocation of resources](speech-container-howto.md#container-requirements-and-recommendations) for each Speech container.
6868

6969
Use the [docker pull](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry:
7070

@@ -178,8 +178,19 @@ For more information about `docker run` with Speech containers, see [Install and
178178

179179
[Try the text-to-speech quickstart](get-started-text-to-speech.md) using host authentication instead of key and region.
180180

181-
> [!IMPORTANT]
182-
> When you construct a neural text-to-speech HTTP POST, the [SSML](speech-synthesis-markup.md) message requires a `voice` element with a `name` attribute. The value is the corresponding container [locale and voice](language-support.md?tabs=tts). For example, the `latest` tag would have a voice name of `en-US-AriaNeural`.
181+
### SSML voice element
182+
183+
When you construct a neural text-to-speech HTTP POST, the [SSML](speech-synthesis-markup.md) message requires a `voice` element with a `name` attribute. The [locale of the voice](language-support.md?tabs=tts) must correspond to the locale of the container model.
184+
185+
For example, a model that was downloaded via the `latest` tag (defaults to "en-US") would have a voice name of `en-US-AriaNeural`.
186+
187+
```xml
188+
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">
189+
<voice name="en-US-AriaNeural">
190+
This is the text that is spoken.
191+
</voice>
192+
</speak>
193+
```
183194

184195
## Next steps
185196

articles/cognitive-services/Speech-Service/speech-container-stt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The tags are also available [in JSON format](https://mcr.microsoft.com/v2/azure-
6161

6262
## Get the container image with docker pull
6363

64-
You need the [prerequisites](speech-container-howto.md#prerequisites).
64+
You need the [prerequisites](speech-container-howto.md#prerequisites) including required hardware. Please also see the [recommended allocation of resources](speech-container-howto.md#container-requirements-and-recommendations) for each Speech container.
6565

6666
Use the [docker pull](https://docs.docker.com/engine/reference/commandline/pull/) command to download a container image from Microsoft Container Registry:
6767

0 commit comments

Comments
 (0)