You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**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.
28
28
29
29
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.
30
30
31
31
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:
32
32
- 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.
34
34
35
35
## Try it in Speech Studio
36
36
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.
38
38
39
39
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."
41
41
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**."
44
44
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.
46
46
47
47
Now try Speech Studio to see how phrase list can improve recognition accuracy.
48
48
49
49
> [!NOTE]
50
50
> You may be prompted to select your Azure subscription and Speech resource, and then acknowledge billing for your region.
51
51
52
52
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.
54
54
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.
55
55
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.
57
57
:::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":::
58
58
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.
0 commit comments