Skip to content

Commit 402d982

Browse files
authored
Merge pull request #2903 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-ai-docs (branch main)
2 parents a6b35ce + 662d13f commit 402d982

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

articles/ai-services/speech-service/includes/how-to/recognize-speech-results/python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ This code snippet shows how to get the offset and duration from a `Recognizing`
3030
```python
3131
def recognizing_handler(e : speechsdk.SpeechRecognitionEventArgs) :
3232
if speechsdk.ResultReason.RecognizingSpeech == e.result.reason and len(e.result.text) > 0 :
33-
print("Recognized: {}".format(result.text))
34-
print("Offset in Ticks: {}".format(result.offset))
35-
print("Duration in Ticks: {}".format(result.duration))
33+
print("Recognized: {}".format(e.result.text))
34+
print("Offset in Ticks: {}".format(e.result.offset))
35+
print("Duration in Ticks: {}".format(e.result.duration))
3636
```
3737

3838
### Recognized offset and duration

articles/ai-services/speech-service/includes/how-to/recognize-speech/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Now, create a callback to stop continuous recognition when `evt` is received. Ke
118118
def stop_cb(evt):
119119
print('CLOSING on {}'.format(evt))
120120
speech_recognizer.stop_continuous_recognition()
121-
nonlocal done
121+
global done
122122
done = True
123123
```
124124

articles/ai-services/speech-service/includes/quickstarts/keyword-recognition/use-speech-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Before you can use a custom keyword, you need to create a keyword using the [Cus
3636

3737
1. Select a model type, then select **Create**. You can view a list of regions that support the **Advanced** model type in the [Keyword recognition region support](../../../regions.md#regions) documentation.
3838

39-
1. It might take up to 30 minutes for the model to be generated. The keyword list changes from **Processing** to **Succeeded** when the model is complete.
39+
1. Because of high demand, training the basic model might take several hours. Training the advanced model could take up to a day to finish. The status changes from **Processing** to **Succeeded** when the training is complete.
4040

4141
:::image type="content" source="../../../media/custom-keyword/custom-kw-portal-review-keyword.png" alt-text="Review your keyword.":::
4242

articles/search/search-region-support.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ AI service integration refers to internal connections to an Azure AI multi-servi
6161
| North Europe​​ |||| All tiers|
6262
| West Europe​​ |||| |
6363
| France Central​​ |||| All Tiers|
64-
| Germany West Central​ <sup>1</sup>|| || |
64+
| Germany West Central​ ​|| || |
6565
| Italy North​​ | | || |
6666
| Norway East​​ || || |
6767
| Poland Central​​ | | | | |
6868
| Spain Central <sup>1</sup> | | || |
6969
| Sweden Central​​ || || |
7070
| Switzerland North​ |||| |
71-
| Switzerland West​ <sup>1</sup>|||| |
71+
| Switzerland West​ |||| |
7272
| UK South​ |||| |
7373
| UK West​ ​| || | |
7474

0 commit comments

Comments
 (0)