Skip to content

Commit c8f49f5

Browse files
committed
address author feedback
1 parent 0ac78fb commit c8f49f5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ms.author: wolfma
3636
[!code-java[Intent recognition by using events from a file](~/samples-cognitive-services-speech-sdk/samples/java/jre/console/src/com/microsoft/cognitiveservices/speech/samples/console/IntentRecognitionSamples.java#IntentContinuousRecognitionWithFile)]
3737

3838
[!include[Get the samples](../../../includes/cognitive-services-speech-service-speech-sdk-sample-download-h2.md)]
39-
Look for the code that's used in this article in the samples/java/windows/console folder.
39+
Look for the code that's used in this article in the samples/java/jre/console folder.
4040

4141
## Next steps
4242

includes/cognitive-services-speech-service-how-to-recognize-intents-from-speech-intro.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ ms.author: wolfma
88

99
<!-- N.B. no header, language-agnostic -->
1010

11-
The Microsoft Cognitive Services [Speech SDK](~/articles/cognitive-services/speech-service/speech-sdk.md) provides a way to recognize **intents from speech**. The Speech SDK is powered by the Cognitive Services Speech service and the Cognitive Services [Language Understanding service (LUIS)](https://www.luis.ai/home).
11+
The Microsoft Cognitive Services [Speech SDK](~/articles/cognitive-services/speech-service/speech-sdk.md) provides a way to recognize **intents from speech** and is supported by the Cognitive Services [Language Understanding service (LUIS)](https://www.luis.ai/home).
1212

13-
1. Create a speech factory. Provide a LUIS subscription key and [region](~/articles/cognitive-services/speech-service/regions.md#regions-for-intent-recognition). The LUIS subscription key is called **endpoint key** in the service documentation. You can't use the LUIS authoring key. (See the Note later in this section.)
13+
1. Create a speech factory. Provide a LUIS subscription key and [region](~/articles/cognitive-services/speech-service/regions.md#regions-for-intent-recognition). The LUIS subscription key is called **endpoint key** in the service documentation. You can't use the LUIS authoring key. (See the note later in this section.)
1414

1515
1. Get an intent recognizer from the speech factory. A recognizer can use your device's default microphone, an audio stream, or audio from a file.
1616

1717
1. Get the language understanding model that's based on your **AppId**. Add the intents you require.
1818

1919
1. Tie up the events for asynchronous operation, if desired. The recognizer then calls your event handlers when it has interim and final results (includes intents). If you don't tie up the events, your application receives only a final transcription result.
2020

21-
1. Start intent recognition. For single-shot recognition, such as command or query recognition, use the **RecognizeAsync()** method. This method returns the first recognized utterance. For long-running recognition, use the **StartContinuousRecognitionAsync()** method. Tie up the events for asynchronous recognition results.
21+
1. Start intent recognition. For single-shot recognition, such as command or query recognition, use the `RecognizeAsync()` method. This method returns the first recognized utterance. For long-running recognition, use the `StartContinuousRecognitionAsync()` method. Tie up the events for asynchronous recognition results.
2222

2323
See the following code snippets for intent recognition scenarios that use the Speech SDK. Replace the values in the sample with your own LUIS subscription key (endpoint key), the [region of your subscription](~/articles/cognitive-services/speech-service/regions.md#regions-for-intent-recognition), and the **AppId** of your intent model.
2424

2525
> [!NOTE]
26-
> In contrast to other services supported by the Speech SDK, intent recognition requires a specific subscription key (LUIS endpoint key). For information about the intent recognition technology, see the [LUIS website](https://www.luis.ai). For information on how to acquire the **endpoint key**, see [Create a LUIS endpoint key](https://docs.microsoft.com/en-us/azure/cognitive-services/LUIS/luis-how-to-azure-subscription#create-luis-endpoint-key).
26+
> In contrast to other services supported by the Speech SDK, intent recognition requires a specific subscription key (LUIS endpoint key). For information about the intent recognition technology, see the [LUIS website](https://www.luis.ai). For information on how to acquire the **endpoint key**, see [Create a LUIS endpoint key](https://docs.microsoft.com/azure/cognitive-services/LUIS/luis-how-to-azure-subscription#create-luis-endpoint-key).

0 commit comments

Comments
 (0)