Skip to content

Commit 6fac2b5

Browse files
committed
two support files
1 parent ded2f1b commit 6fac2b5

File tree

2 files changed

+39
-0
lines changed
  • articles/cognitive-services/Speech-Service/includes/quickstarts/translate-stt-multiple-languages/spx

2 files changed

+39
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
author: v-demjoh
3+
ms.service: cognitive-services
4+
ms.subservice: speech-service
5+
ms.topic: include
6+
ms.date: 05/18/2020
7+
ms.author: v-demjoh
8+
---
9+
10+
In this quickstart, you use the SPX tool from the command line to convert speech from a microphone input
11+
to text in multiple other languages.
12+
After a one-time configuration, the SPX tool lets you translate speech using commands from the command line.
13+
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
author: v-demjoh
3+
ms.service: cognitive-services
4+
ms.subservice: speech-service
5+
ms.topic: include
6+
ms.date: 05/18/2020
7+
ms.author: v-demjoh
8+
---
9+
10+
11+
## Run the SPX tool
12+
13+
Now you're ready to run the SPX tool to translate speech into text in two different languages.
14+
15+
From the command line, change to the directory that contains the SPX tool binary file, and type:
16+
17+
```bash
18+
spx translate --microphone --target de-DE --target es-MX
19+
```
20+
21+
The SPX tool will translate natural language spoken English into text printed in German and (Mexican) Spanish.
22+
Press ENTER to stop the tool.
23+
24+
> [!NOTE]
25+
> The SPX tool defaults to English. You can choose a different language [from the Speech-to-text table](../../../../language-support.md).
26+
> For example, add `--source ja-JP` to recognize Japanese speech.

0 commit comments

Comments
 (0)