Skip to content

Commit 5a74752

Browse files
authored
Merge pull request #186896 from ShawnJackson/get-started-speech-to-text
edit pass: get-started-speech-to-text
2 parents a32b8a4 + 3ce0519 commit 5a74752

11 files changed

+222
-217
lines changed

articles/cognitive-services/Speech-Service/get-started-speech-to-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Speech-to-text quickstart - Speech service"
33
titleSuffix: Azure Cognitive Services
4-
description: Learn how to use the Speech SDK to convert speech-to-text. In this quickstart, you learn about object construction, supported audio input formats, and configuration options for speech recognition.
4+
description: Learn how to use the Speech SDK to convert speech to text, including object construction, supported audio input formats, and configuration options for speech recognition.
55
services: cognitive-services
66
author: eric-urban
77
manager: nitinme

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ ms.author: eur
77
ms.custom: devx-track-js
88
---
99

10-
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often referred to as speech-to-text). In this sample, you learn how to use the Speech SDK in your apps and products to perform high-quality speech-to-text conversion.
10+
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often called speech-to-text). In this sample, you learn how to use the Speech SDK in your apps and products to perform high-quality speech-to-text conversion.
1111

1212
## React sample on GitHub
1313

14-
Go to the [React sample](https://github.com/Azure-Samples/AzureSpeechReactSample) on GitHub to learn how to use the Speech SDK in a browser-based JavaScript environment. This sample shows design pattern examples for authentication token exchange and management, and capturing audio from a microphone or file for speech-to-text conversions.
14+
Go to the [React sample](https://github.com/Azure-Samples/AzureSpeechReactSample) on GitHub to learn how to use the Speech SDK in a browser-based JavaScript environment. This sample shows design patterns for the exchange and management of authentication tokens. It also shows the capture of audio from a microphone or file for speech-to-text conversions.
1515

16-
Additionally, the design patterns used in the [Node.js quickstart](../../../get-started-speech-to-text.md?pivots=programming-language-nodejs&tabs=script%2cbrowser%2cwindowsinstall) can also be used in a browser environment.
16+
You can also use the design patterns in the [Node.js quickstart](../../../get-started-speech-to-text.md?pivots=programming-language-nodejs&tabs=script%2cbrowser%2cwindowsinstall) in a browser environment.

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

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,36 @@ ms.date: 09/08/2020
66
ms.author: eur
77
---
88

9-
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often referred to as speech-to-text). In this quickstart, you learn how to use the Speech CLI in your apps and products to perform high-quality speech-to-text conversion.
9+
One of the core features of the Speech service is the ability to recognize and transcribe human speech (often called speech-to-text). In this quickstart, you learn how to use the Speech CLI in your apps and products to perform high-quality speech-to-text conversion.
1010

1111
[!INCLUDE [SPX Setup](../../spx-setup.md)]
1212

13-
## Speech-to-text from microphone
13+
## Speech-to-text from a microphone
1414

15-
Plug in and turn on your PC microphone, and turn off any apps that might also use the microphone. Some computers have a built-in microphone, while others require configuration of a Bluetooth device.
15+
Plug in and turn on your PC microphone. Turn off any apps that might also use the microphone. Some computers have a built-in microphone, whereas others require configuration of a Bluetooth device.
1616

17-
Now you're ready to run the Speech CLI to recognize speech from your microphone. From the command line, change to the directory that contains the Speech CLI binary file, and run the following command.
17+
Now you're ready to run the Speech CLI to recognize speech from your microphone. From the command line, change to the directory that contains the Speech CLI binary file. Then run the following command:
1818

1919
```bash
2020
spx recognize --microphone
2121
```
2222

2323
> [!NOTE]
24-
> The Speech CLI defaults to English. You can choose a different language [from the Speech-to-text table](../../../../language-support.md).
25-
> For example, add `--source de-DE` to recognize German speech.
24+
> The Speech CLI defaults to English. You can choose a different language [from the speech-to-text table](../../../../language-support.md). For example, add `--source de-DE` to recognize German speech.
2625
27-
Speak into the microphone, and you see transcription of your words into text in real-time. The Speech CLI will stop after a period of silence, or when you press ctrl-C.
26+
Speak into the microphone, and you see transcription of your words into text in real time. The Speech CLI stops after a period of silence, or when you select Ctrl+C.
2827

29-
## Speech-to-text from audio file
28+
## Speech-to-text from an audio file
3029

31-
The Speech CLI can recognize speech in many file formats and natural languages. In this example, you can use any WAV file (16kHz or 8kHz, 16-bit, and mono PCM) that contains English speech. Or if you want a quick sample, download the <a href="https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/whatstheweatherlike.wav" download="whatstheweatherlike" target="_blank">whatstheweatherlike.wav <span class="docon docon-download x-hidden-focus"></span></a> file and copy it to the same directory as the Speech CLI binary file.
30+
The Speech CLI can recognize speech in many file formats and natural languages. In this example, you can use any WAV file (16 KHz or 8 KHz, 16-bit, and mono PCM) that contains English speech. Or if you want a quick sample, download the <a href="https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/whatstheweatherlike.wav" download="whatstheweatherlike" target="_blank">whatstheweatherlike.wav <span class="docon docon-download x-hidden-focus"></span></a> file and copy it to the same directory as the Speech CLI binary file.
3231

33-
Now you're ready to run the Speech CLI to recognize speech found in the audio file by running the following command.
32+
Use the following command to run the Speech CLI to recognize speech found in the audio file:
3433

3534
```bash
3635
spx recognize --file whatstheweatherlike.wav
3736
```
3837

3938
> [!NOTE]
40-
> The Speech CLI defaults to English. You can choose a different language [from the Speech-to-text table](../../../../language-support.md).
41-
> For example, add `--source de-DE` to recognize German speech.
39+
> The Speech CLI defaults to English. You can choose a different language [from the speech-to-text table](../../../../language-support.md). For example, add `--source de-DE` to recognize German speech.
4240
43-
The Speech CLI will show a text transcription of the speech on the screen.
41+
The Speech CLI shows a text transcription of the speech on the screen.

0 commit comments

Comments
 (0)