Skip to content

Commit 453b5ca

Browse files
committed
fix include file
1 parent 97b95ff commit 453b5ca

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

articles/cognitive-services/Speech-Service/includes/containers-speech-config-http.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ Speech containers provide websocket-based query endpoint APIs that are accessed
1414
> When you use the Speech service with containers, be sure to use host authentication. If you configure the key and region, requests will go to the public Speech service. Results from the Speech service might not be what you expect. Requests from disconnected containers will fail.
1515
1616
::: zone pivot="programming-language-csharp"
17-
Change from using this Azure-cloud initialization call:
17+
Instead of using this Azure-cloud initialization config:
1818

1919
```csharp
2020
var config = SpeechConfig.FromSubscription(...);
2121
```
2222

23-
To using this call with the container [host](/dotnet/api/microsoft.cognitiveservices.speech.speechconfig.fromhost):
23+
Use this config with the container [host](/dotnet/api/microsoft.cognitiveservices.speech.speechconfig.fromhost):
2424

2525
```csharp
2626
var config = SpeechConfig.FromHost(
@@ -29,98 +29,98 @@ var config = SpeechConfig.FromHost(
2929
::: zone-end
3030

3131
::: zone pivot="programming-language-cpp"
32-
Change from using this Azure-cloud initialization call:
32+
Instead of using this Azure-cloud initialization config:
3333

3434
```cpp
3535
auto speechConfig = SpeechConfig::FromSubscription(...);
3636
```
3737

38-
To using this call with the container [host](/cpp/cognitive-services/speech/speechconfig#fromhost):
38+
Use this config with the container [host](/cpp/cognitive-services/speech/speechconfig#fromhost):
3939

4040
```cpp
4141
auto speechConfig = SpeechConfig::FromHost("http://localhost:5000");
4242
```
4343
::: zone-end
4444

4545
::: zone pivot="programming-language-go"
46-
Change from using this Azure-cloud initialization call:
46+
Instead of using this Azure-cloud initialization config:
4747

4848
```go
4949
speechConfig, err := speech.NewSpeechConfigFromSubscription(...)
5050
```
5151

52-
To using this call with the container host:
52+
Use this config with the container host:
5353

5454
```go
5555
speechConfig, err := speech.NewSpeechConfigFromHost("http://localhost:5000")
5656
```
5757
::: zone-end
5858

5959
::: zone pivot="programming-language-java"
60-
Change from using this Azure-cloud initialization call:
60+
Instead of using this Azure-cloud initialization config:
6161

6262
```java
6363
SpeechConfig speechConfig = SpeechConfig.fromSubscription(...);
6464
```
6565

66-
To using this call with the container [host](/java/api/com.microsoft.cognitiveservices.speech.speechconfig#com-microsoft-cognitiveservices-speech-speechconfig-fromhost(java-net-uri)):
66+
Use this config with the container [host](/java/api/com.microsoft.cognitiveservices.speech.speechconfig#com-microsoft-cognitiveservices-speech-speechconfig-fromhost(java-net-uri)):
6767

6868
```java
6969
SpeechConfig speechConfig = SpeechConfig.fromHost("http://localhost:5000");
7070
```
7171
::: zone-end
7272

7373
::: zone pivot="programming-language-javascript"
74-
Change from using this Azure-cloud initialization call:
74+
Instead of using this Azure-cloud initialization config:
7575

7676
```javascript
7777
const speechConfig = sdk.SpeechConfig.fromSubscription(...);
7878
```
7979

80-
To using this call with the container [host](/javascript/api/microsoft-cognitiveservices-speech-sdk/speechconfig#microsoft-cognitiveservices-speech-sdk-speechconfig-fromhost):
80+
Use this config with the container [host](/javascript/api/microsoft-cognitiveservices-speech-sdk/speechconfig#microsoft-cognitiveservices-speech-sdk-speechconfig-fromhost):
8181

8282
```javascript
8383
const speechConfig = sdk.SpeechConfig.fromHost("http://localhost:5000");
8484
```
8585
::: zone-end
8686

8787
::: zone pivot="programming-language-objectivec"
88-
Change from using this Azure-cloud initialization call:
88+
Instead of using this Azure-cloud initialization config:
8989

9090
```objectivec
9191
SPXSpeechConfiguration *speechConfig = [[SPXSpeechConfiguration alloc] initWithSubscription:...];
9292
```
9393
94-
To using this call with the container [host](/objectivec/cognitive-services/speech/spxspeechconfiguration#initwithhost):
94+
Use this config with the container [host](/objectivec/cognitive-services/speech/spxspeechconfiguration#initwithhost):
9595
9696
```objectivec
9797
SPXSpeechConfiguration *speechConfig = [[SPXSpeechConfiguration alloc] initWithHost:"http://localhost:5000"];
9898
```
9999
::: zone-end
100100

101101
::: zone pivot="programming-language-swift"
102-
Change from using this Azure-cloud initialization call:
102+
Instead of using this Azure-cloud initialization config:
103103

104104
```swift
105105
let speechConfig = SPXSpeechConfiguration(subscription: "", region: "");
106106
```
107107

108-
To using this call with the container [host](/objectivec/cognitive-services/speech/spxspeechconfiguration#initwithhost):
108+
Use this config with the container [host](/objectivec/cognitive-services/speech/spxspeechconfiguration#initwithhost):
109109

110110
```swift
111111
let speechConfig = SPXSpeechConfiguration(host: "http://localhost:5000");
112112
```
113113
::: zone-end
114114

115115
::: zone pivot="programming-language-python"
116-
Change from using this Azure-cloud initialization call:
116+
Instead of using this Azure-cloud initialization config:
117117

118118
```python
119119
speech_config = speechsdk.SpeechConfig(
120120
subscription=speech_key, region=service_region)
121121
```
122122

123-
To using this call with the container [endpoint](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig):
123+
Use this config with the container [endpoint](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig):
124124

125125
```python
126126
speech_config = speechsdk.SpeechConfig(

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Obtain the **Model ID** to use as the argument to the `ModelId` parameter of the
8989
![Screenshot that shows Custom Speech model details.](media/custom-speech/custom-speech-model-details.png)
9090

9191

92-
# [Base model ID](#tab/custom-model)
92+
# [Base model ID](#tab/base-model)
9393

9494
You can get the available base model information by using option `BaseModelLocale={LOCALE}`. This option gives you a list of available base models on that locale under your billing account.
9595

0 commit comments

Comments
 (0)