Skip to content

Commit 682589f

Browse files
committed
[CogSvcs] corrected LUIS langauge support link.
1 parent 6d5d0c4 commit 682589f

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

articles/cognitive-services/Speech-Service/how-to-recognize-intents-from-speech-csharp.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ title: How to recognize intents from speech using the Speech SDK C#
33
titleSuffix: Azure Cognitive Services
44
description: In this guide, you learn how to recognize intents from speech using the Speech SDK for C#.
55
services: cognitive-services
6-
author: wolfma61
6+
author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: conceptual
11-
ms.date: 08/28/2019
12-
ms.author: wolfma
11+
ms.date: 02/10/2020
12+
ms.author: dapine
1313
---
1414

1515
# How to recognize intents from speech using the Speech SDK for C#
@@ -86,12 +86,15 @@ Next, you add code to the project.
8686

8787
[!code-csharp[Top-level declarations](~/samples-cognitive-services-speech-sdk/samples/csharp/sharedcontent/console/intent_recognition_samples.cs#toplevel)]
8888

89-
1. Inside the provided `Main()` method, add the following code:
89+
1. Replace the provided `Main()` method, with the following asynchronous equivalent:
9090

9191
```csharp
92-
RecognizeIntentAsync().Wait();
93-
Console.WriteLine("Please press Enter to continue.");
94-
Console.ReadLine();
92+
public static async Task Main()
93+
{
94+
await RecognizeIntentAsync();
95+
Console.WriteLine("Please press Enter to continue.");
96+
Console.ReadLine();
97+
}
9598
```
9699

97100
1. Create an empty asynchronous method `RecognizeIntentAsync()`, as shown here:
@@ -168,7 +171,7 @@ The application doesn't parse the JSON result. It only displays the JSON text in
168171

169172
## Specify recognition language
170173

171-
By default, LUIS recognizes intents in US English (`en-us`). By assigning a locale code to the `SpeechRecognitionLanguage` property of the speech configuration, you can recognize intents in other languages. For example, add `config.SpeechRecognitionLanguage = "de-de";` in our application before creating the recognizer to recognize intents in German. For more information, see [Supported Languages](language-support.md#speech-to-text).
174+
By default, LUIS recognizes intents in US English (`en-us`). By assigning a locale code to the `SpeechRecognitionLanguage` property of the speech configuration, you can recognize intents in other languages. For example, add `config.SpeechRecognitionLanguage = "de-de";` in our application before creating the recognizer to recognize intents in German. For more information, see [LUIS language support](../LUIS/luis-language-support.md#languages-supported).
172175

173176
## Continuous recognition from a file
174177

0 commit comments

Comments
 (0)