Skip to content

Commit 054a7f8

Browse files
committed
LID and code style
1 parent de03678 commit 054a7f8

File tree

2 files changed

+2
-2
lines changed
  • articles/cognitive-services/Speech-Service/includes/how-to/translate-speech

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ For more information about speech synthesis, see [the basics of speech synthesis
301301

302302
In many scenarios, you might not know which input languages to specify. Using [language identification](../../../language-identification.md?pivots=programming-language-cpp#speech-translation) you can detect up to 10 possible input languages and automatically translate to your target languages.
303303

304-
The following example uses continuous translation from an audio file. When you run the sample, `en-US` and `zh-CN` will be automatically detected because they're defined in `AutoDetectSourceLanguageConfig`. Then, the speech will be translated to `de` and `fr` as specified in the calls to `AddTargetLanguage()`.
304+
The following example anticipates that `en-US` or `zh-CN` should be detected because they're defined in `AutoDetectSourceLanguageConfig`. Then, the speech will be translated to `de` and `fr` as specified in the calls to `AddTargetLanguage()`.
305305

306306
```cpp
307307
speechTranslationConfig->AddTargetLanguage("de");

articles/cognitive-services/Speech-Service/includes/how-to/translate-speech/csharp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ For more information about speech synthesis, see [the basics of speech synthesis
308308

309309
In many scenarios, you might not know which input languages to specify. Using [language identification](../../../language-identification.md?pivots=programming-language-csharp#speech-translation) you can detect up to 10 possible input languages and automatically translate to your target languages.
310310

311-
The following example uses continuous translation from an audio file. When you run the sample, `en-US` and `zh-CN` will be automatically detected because they're defined in `AutoDetectSourceLanguageConfig`. Then, the speech will be translated to `de` and `fr` as specified in the calls to `AddTargetLanguage()`.
311+
The following example anticipates that `en-US` or `zh-CN` should be detected because they're defined in `AutoDetectSourceLanguageConfig`. Then, the speech will be translated to `de` and `fr` as specified in the calls to `AddTargetLanguage()`.
312312

313313
```csharp
314314
speechTranslationConfig.AddTargetLanguage("de");

0 commit comments

Comments
 (0)