Skip to content

Commit 371b370

Browse files
committed
acrolinx
1 parent 8d4265d commit 371b370

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/ai-services/speech-service/improve-accuracy-phrase-list.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: umaheshwari
66
ms.service: azure-ai-speech
77
ms.custom: devx-track-extended-java, devx-track-js, devx-track-python
88
ms.topic: how-to
9-
ms.date: 09/01/2022
9+
ms.date: 1/19/2024
1010
zone_pivot_groups: programming-languages-set-two-with-js-spx
1111
---
1212

@@ -24,36 +24,36 @@ Examples of phrases include:
2424

2525
Phrase lists are simple and lightweight:
2626
- **Just-in-time**: A phrase list is provided just before starting the speech recognition, eliminating the need to train a custom model.
27-
- **Lightweight**: You don't need a large data set. Simply provide a word or phrase to boost its recognition.
27+
- **Lightweight**: You don't need a large data set. Provide a word or phrase to boost its recognition.
2828

2929
You can use phrase lists with the [Speech Studio](speech-studio-overview.md), [Speech SDK](quickstarts/setup-platform.md), or [Speech Command Line Interface (CLI)](spx-overview.md). The [Batch transcription API](batch-transcription.md) doesn't support phrase lists.
3030

3131
You can use phrase lists with both standard and [custom speech](custom-speech-overview.md). There are some situations where training a custom model that includes phrases is likely the best option to improve accuracy. For example, in the following cases you would use custom speech:
3232
- If you need to use a large list of phrases. A phrase list shouldn't have more than 500 phrases.
33-
- If you need a phrase list for languages that are not currently supported.
33+
- If you need a phrase list for languages that aren't currently supported.
3434

3535
## Try it in Speech Studio
3636

37-
You can use [Speech Studio](speech-studio-overview.md) to test how phrase list would help improve recognition for your audio. To implement a phrase list with your application in production, you'll use the Speech SDK or Speech CLI.
37+
You can use [Speech Studio](speech-studio-overview.md) to test how phrase list would help improve recognition for your audio. To implement a phrase list with your application in production, you use the Speech SDK or Speech CLI.
3838

3939
For example, let's say that you want the Speech service to recognize this sentence:
40-
"Hi Rehaan, this is Jessie from Contoso bank. "
40+
"Hi Rehaan, I'm Jessie from Contoso bank."
4141

42-
After testing, you might find that it's incorrectly recognized as:
43-
"Hi **everyone**, this is **Jesse** from **can't do so bank**."
42+
You might find that a phrase is incorrectly recognized as:
43+
"Hi **everyone**, I'm **Jesse** from **can't do so bank**."
4444

45-
In this case you would want to add "Rehaan", "Jessie", and "Contoso" to your phrase list. Then the names should be recognized correctly.
45+
In the previous scenario, you would want to add "Rehaan", "Jessie", and "Contoso" to your phrase list. Then the names should be recognized correctly.
4646

4747
Now try Speech Studio to see how phrase list can improve recognition accuracy.
4848

4949
> [!NOTE]
5050
> You may be prompted to select your Azure subscription and Speech resource, and then acknowledge billing for your region.
5151
5252
1. Go to **Real-time Speech to text** in [Speech Studio](https://aka.ms/speechstudio/speechtotexttool).
53-
1. You test speech recognition by uploading an audio file or recording audio with a microphone. For example, select **record audio with a microphone** and then say "Hi Rehaan, this is Jessie from Contoso bank. " Then select the red button to stop recording.
53+
1. You test speech recognition by uploading an audio file or recording audio with a microphone. For example, select **record audio with a microphone** and then say "Hi Rehaan, I'm Jessie from Contoso bank. " Then select the red button to stop recording.
5454
1. You should see the transcription result in the **Test results** text box. If "Rehaan", "Jessie", or "Contoso" were recognized incorrectly, you can add the terms to a phrase list in the next step.
5555
1. Select **Show advanced options** and turn on **Phrase list**.
56-
1. Enter "Contoso;Jessie;Rehaan" in the phrase list text box. Note that multiple phrases need to be separated by a semicolon.
56+
1. Enter "Contoso;Jessie;Rehaan" in the phrase list text box. Multiple phrases need to be separated by a semicolon.
5757
:::image type="content" source="./media/custom-speech/phrase-list-after-zoom.png" alt-text="Screenshot of a phrase list applied in Speech Studio." lightbox="./media/custom-speech/phrase-list-after-full.png":::
5858
1. Use the microphone to test recognition again. Otherwise you can select the retry arrow next to your audio file to re-run your audio. The terms "Rehaan", "Jessie", or "Contoso" should be recognized.
5959

0 commit comments

Comments
 (0)