Skip to content

Commit 9428515

Browse files
authored
Merge pull request #183659 from eric-urban/patch-1
Name Speech Key explicitly
2 parents f80bfe4 + a3920b9 commit 9428515

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cognitive-services/Speech-Service/includes/how-to/speech-to-text-basics/speech-to-text-basics-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ This article assumes:
2424

2525
## Create a speech configuration
2626

27-
To call the Speech service using the Speech SDK, you need to create a [`SpeechConfig`](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig). This class includes information about your subscription, like your key and associated location/region, endpoint, host, or authorization token. Create a [`SpeechConfig`](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig) using your key and location/region. See the [Find keys and location/region](../../../overview.md#find-keys-and-locationregion) page to find your key-location/region pair.
27+
To call the Speech service using the Speech SDK, you need to create a [`SpeechConfig`](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig). This class includes information about your subscription, like your speech key and associated location/region, endpoint, host, or authorization token. Create a [`SpeechConfig`](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig) using your speech key and location/region. See the [Find keys and location/region](../../../overview.md#find-keys-and-locationregion) page to find your speech key-location/region pair.
2828

2929
```Python
3030
speech_config = speechsdk.SpeechConfig(subscription="<paste-your-speech-key-here>", region="<paste-your-speech-location/region-here>")
3131
```
3232

3333
There are a few other ways that you can initialize a [`SpeechConfig`](/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig):
3434

35-
* With an endpoint: pass in a Speech service endpoint. A key or authorization token is optional.
36-
* With a host: pass in a host address. A key or authorization token is optional.
35+
* With an endpoint: pass in a Speech service endpoint. A speech key or authorization token is optional.
36+
* With a host: pass in a host address. A speech key or authorization token is optional.
3737
* With an authorization token: pass in an authorization token and the associated region.
3838

3939
> [!NOTE]

0 commit comments

Comments
 (0)