Skip to content

Commit c4e429f

Browse files
authored
M48921 - Fixing Inconsistency
Translator has reported a possible source content issue. Description> Language code fr-FR should be de-DE Affected Line> 217
1 parent 5666d3d commit c4e429f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ config->EnableDictation();
214214
A common task for speech recognition is specifying the input (or source) language. Let's take a look at how you would change the input language to German. In your code, find your [`SpeechConfig`](https://docs.microsoft.com/cpp/cognitive-services/speech/speechconfig), then add this line directly below it.
215215

216216
```cpp
217-
config->SetSpeechRecognitionLanguage("fr-FR");
217+
config->SetSpeechRecognitionLanguage("de-DE");
218218
```
219219
220220
[`SetSpeechRecognitionLanguage`](https://docs.microsoft.com/cpp/cognitive-services/speech/speechconfig#setspeechrecognitionlanguage) is a parameter that takes a string as an argument. You can provide any value in the list of supported [locales/languages](../../../language-support.md).
@@ -246,4 +246,4 @@ phraseListGrammar->Clear();
246246
Phrase lists are only one option to improve recognition accuracy. You can also:
247247

248248
* [Improve accuracy with Custom Speech](../../../how-to-custom-speech.md)
249-
* [Improve accuracy with tenant models](../../../tutorial-tenant-model.md)
249+
* [Improve accuracy with tenant models](../../../tutorial-tenant-model.md)

0 commit comments

Comments
 (0)