Skip to content

Commit 6c0c49b

Browse files
authored
Merge pull request #98195 from IEvangelist/keywordPanel
[CogSvcs] Keyword panel
2 parents 0f060e2 + afd71d9 commit 6c0c49b

File tree

3 files changed

+55
-30
lines changed

3 files changed

+55
-30
lines changed

articles/cognitive-services/Speech-Service/speech-devices-sdk-create-kws.md

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,23 @@
11
---
2-
title: Create a custom keyword - Speech service
2+
title: Create custom keywords - Speech service
33
titleSuffix: Azure Cognitive Services
44
description: Your device is always listening for a keyword (or phrase). When the user says the keyword, the device sends all subsequent audio to the cloud, until the user stops speaking. Customizing your keyword is an effective way to differentiate your device and strengthen your branding.
55
services: cognitive-services
6-
author: erhopf
6+
author: IEvangelist
77
manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: conceptual
11-
ms.date: 11/18/2019
12-
ms.author: erhopf
11+
ms.date: 12/11/2019
12+
ms.author: dapine
1313
---
1414

15-
# Create a custom keyword by using the Speech service
15+
# Create a custom keyword using Speech Studio
1616

1717
Your device is always listening for a keyword (or phrase). For example, "Hey Cortana" is a keyword for the Cortana assistant. When the user says the keyword, the device sends all subsequent audio to the cloud, until the user stops speaking. Customizing your keyword is an effective way to differentiate your device and strengthen your branding.
1818

1919
In this article, you learn how to create a custom keyword for your device.
2020

21-
## Choose an effective keyword
22-
23-
Consider the following guidelines when you choose a keyword:
24-
25-
* Your keyword should be an English word or a phrase. It should take no longer than two seconds to say.
26-
27-
* Words of 4 to 7 syllables work best. For example, "Hey, Computer" is a good keyword. Just "Hey" is a poor one.
28-
29-
* Keywords should follow common English pronunciation rules.
30-
31-
* A unique or even a made-up word that follows common English pronunciation rules might reduce false positives. For example, "computerama" might be a good keyword.
32-
33-
* Do not choose a common word. For example, "eat" and "go" are words that people say frequently in ordinary conversation. They might be false triggers for your device.
34-
35-
* Avoid using a keyword that might have alternative pronunciations. Users would have to know the "right" pronunciation to get their device to respond. For example, "509" can be pronounced "five zero nine," "five oh nine," or "five hundred and nine." "R.E.I." can be pronounced "r-e-i" or "ray." "Live" can be pronounced "/līv/" or "/liv/".
36-
37-
* Do not use special characters, symbols, or digits. For example, "Go#" and "20 + cats" would not be good keywords. However, "go sharp" or "twenty plus cats" might work. You can still use the symbols in your branding and use marketing and documentation to reinforce the proper pronunciation.
38-
39-
> [!NOTE]
40-
> If you choose a trademarked word as your keyword, be sure that you own that trademark or that you have permission from the trademark owner to use the word. Microsoft is not liable for any legal issues that might arise from your choice of keyword.
41-
4221
## Create your keyword
4322

4423
Before you can use a custom keyword, you'll need to create a keyword using the [Custom Keyword](https://aka.ms/sdsdk-wakewordportal) page on [Speech Studio](https://aka.ms/sdsdk-speechportal). After you provide a keyword, it produces a file that you deploy to your device.
@@ -57,17 +36,17 @@ Before you can use a custom keyword, you'll need to create a keyword using the [
5736

5837
1. To start a new keyword model click **Train model**.
5938

60-
1. Enter a **Name** for the keyword model, and optional **Description** and type in the **Keyword** of your choice, and click **Next**. We have some [guidelines](#choose-an-effective-keyword) to help choose an effective keyword.
39+
1. Enter a **Name** for the keyword model, and optional **Description** and type in the **Keyword** of your choice, and click **Next**. We have some [guidelines](speech-devices-sdk-kws-guidelines.md#choose-an-effective-keyword) to help choose an effective keyword.
6140

62-
![Enter your keyword](media/custom-keyword/custom-kws-portal-new-model.png)
41+
![Enter your keyword](media/custom-keyword/custom-kws-portal-new-model.png)
6342

6443
1. The portal will now create candidate pronunciations for your keyword. Listen to each candidate by clicking the play buttons and remove the checks next to any pronunciations that are incorrect. Once only good pronunciations are checked, click **Train** to begin generating the keyword.
6544

66-
![Review your keyword](media/custom-keyword/custom-kws-portal-choose-prons.png)
45+
![Review your keyword](media/custom-keyword/custom-kws-portal-choose-prons.png)
6746

6847
1. It may take up to ten minutes for the model to be generated. The keyword list will change from **Processing** to **Succeeded** when the model is complete. You can then download the file.
6948

70-
![Review your keyword](media/custom-keyword/custom-kws-portal-download-model.png)
49+
![Review your keyword](media/custom-keyword/custom-kws-portal-download-model.png)
7150

7251
1. Save the .zip file to your computer. You will need this file to deploy your custom keyword to your device.
7352

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Keyword naming guidelines - Speech service
3+
titleSuffix: Azure Cognitive Services
4+
description: Creating an effective keyword is vital to ensuring your device will consistently and accurately respond.
5+
services: cognitive-services
6+
author: IEvangelist
7+
manager: nitinme
8+
ms.service: cognitive-services
9+
ms.subservice: speech-service
10+
ms.topic: conceptual
11+
ms.date: 12/11/2019
12+
ms.author: dapine
13+
---
14+
15+
# Guidelines for creating an effective keyword
16+
17+
Creating an effective keyword is vital to ensuring your device will consistently and accurately respond. Customizing your keyword is an effective way to differentiate your device and strengthen your branding. In this article, you learn some guiding principles for creating an effective keyword.
18+
19+
## Choose an effective keyword
20+
21+
Consider the following guidelines when you choose a keyword:
22+
23+
* Your keyword should be an English word or phrase.
24+
25+
* It should take no longer than two seconds to say.
26+
27+
* Words of 4 to 7 syllables work best. For example, "Hey, Computer" is a good keyword. Just "Hey" is a poor one.
28+
29+
* Keywords should follow common English pronunciation rules.
30+
31+
* A unique or even a made-up word that follows common English pronunciation rules might reduce false positives. For example, "computerama" might be a good keyword.
32+
33+
* Do not choose a common word. For example, "eat" and "go" are words that people say frequently in ordinary conversation. They might be false triggers for your device.
34+
35+
* Avoid using a keyword that might have alternative pronunciations. Users would have to know the "right" pronunciation to get their device to respond. For example, "509" can be pronounced "five zero nine," "five oh nine," or "five hundred and nine." "R.E.I." can be pronounced "r-e-i" or "ray." "Live" can be pronounced "/līv/" or "/liv/".
36+
37+
* Do not use special characters, symbols, or digits. For example, "Go#" and "20 + cats" could be problematic keywords. However, "go sharp" or "twenty plus cats" might work. You can still use the symbols in your branding and use marketing and documentation to reinforce the proper pronunciation.
38+
39+
> [!NOTE]
40+
> If you choose a trademarked word as your keyword, be sure that you own that trademark or that you have permission from the trademark owner to use the word. Microsoft is not liable for any legal issues that might arise from your choice of keyword.
41+
42+
## Next steps
43+
44+
Learn how to [create a custom keyword using Speech Studio](speech-devices-sdk-create-kws.md).

articles/cognitive-services/Speech-Service/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@
370370
items:
371371
- name: "How-to: Audio Content Creation"
372372
href: how-to-audio-content-creation.md
373+
- name: Custom keyword naming guidelines
374+
href: speech-devices-sdk-kws-guidelines.md
373375
- name: Custom keyword spotting
374376
href: speech-devices-sdk-create-kws.md
375377
- name: Speech Service

0 commit comments

Comments
 (0)