Skip to content

Commit 61a7e57

Browse files
committed
Updates
1 parent c6aa605 commit 61a7e57

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/cognitive-services/Speech-Service/how-to-choose-recognition-mode.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ When using continuous recognition, you can enable dictation processing by using
145145
For more information on using the `EnableDictation` function, see the [.NET Speech SDK docs](https://docs.microsoft.com/dotnet/api/microsoft.cognitiveservices.speech.speechconfig.enabledictation?view=azure-dotnet#Microsoft_CognitiveServices_Speech_SpeechConfig_EnableDictation).
146146

147147
```csharp
148+
// Enable diction
148149
SpeechConfig.EnableDictation();
149150
```
150151

@@ -153,6 +154,7 @@ SpeechConfig.EnableDictation();
153154
For more information on using the `EnableDictation` function, see the [C++ Speech SDK docs](https://docs.microsoft.com/cpp/cognitive-services/speech/speechconfig#enabledictation).
154155

155156
```cpp
157+
// Enable diction
156158
SpeechConfig->EnableDictation();
157159
```
158160

@@ -161,22 +163,22 @@ SpeechConfig->EnableDictation();
161163
For more information on using the `enableDictation` function, see the [Java Speech SDK docs](https://docs.microsoft.com/java/api/com.microsoft.cognitiveservices.speech.SpeechConfig.enableDictation?view=azure-java-stable).
162164

163165
```java
166+
// Enable diction
164167
SpeechConfig.enableDictation();
165168
```
166169

167170
# [Python](#tab/python)
168171

169-
For more information on using the `recognize_once` function, see the [Python Speech SDK docs](https://docs.microsoft.com/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig?view=azure-python#enable-dictation--).
172+
For more information on using the `enable_dictation` function, see the [Python Speech SDK docs](https://docs.microsoft.com/python/api/azure-cognitiveservices-speech/azure.cognitiveservices.speech.speechconfig?view=azure-python#enable-dictation--).
170173

171174
```python
175+
# Enable diction
172176
SpeechConfig.enable_dictation()
173177
```
174178

175179
***
176180

177181
## Next steps
178182

179-
If you're looking for additional Speech SDK language coverage, see all the [Speech SDK samples](https://aka.ms/speech/github) on GitHub.
180-
181183
> [!div class="nextstepaction"]
182184
> [Explore our samples on GitHub](https://aka.ms/csspeech/samples)

0 commit comments

Comments
 (0)