Skip to content

Commit d501eb6

Browse files
authored
Merge pull request #112862 from john-par/patch-17
Update speech-to-text-basics-java.md
2 parents 5777a1f + c8273a0 commit d501eb6

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-java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ SpeechRecognizer recognizer = new SpeechRecognizer(config, audioConfig);
7878
The [Recognizer class](https://docs.microsoft.com/java/api/com.microsoft.cognitiveservices.speech.speechrecognizer?view=azure-java-stable) for the Speech SDK for Java exposes a few methods that you can use for speech recognition.
7979

8080
* Single-shot recognition (async) - Performs recognition in a non-blocking (asynchronous) mode. This will recognize a single utterance. The end of a single utterance is determined by listening for silence at the end or until a maximum of 15 seconds of audio is processed.
81-
* Continuous recognition (async) - Asynchronously initiates continuous recognition operation. If you want to provide an audio file instead of using a microphone, you'll still need to provide an. To stop asynchronous continuous recognition, call [stopContinuousRecognitionAsync](https://docs.microsoft.com/java/api/com.microsoft.cognitiveservices.speech.speechrecognizer.stopcontinuousrecognitionasync).
81+
* Continuous recognition (async) - Asynchronously initiates continuous recognition operation. If you want to provide an audio file instead of using a microphone, you'll still need to provide an `audioConfig`. To stop asynchronous continuous recognition, call [stopContinuousRecognitionAsync](https://docs.microsoft.com/java/api/com.microsoft.cognitiveservices.speech.speechrecognizer.stopcontinuousrecognitionasync).
8282

8383
> [!NOTE]
8484
> Learn more about how to [choose a speech recognition mode](../../../how-to-choose-recognition-mode.md).
@@ -240,4 +240,4 @@ phraseList.clear();
240240
Phrase lists are only one option to improve recognition accuracy. You can also:
241241

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

0 commit comments

Comments
 (0)