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
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/label-entity-example-utterance.md
+29-16Lines changed: 29 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,42 +1,44 @@
1
1
---
2
2
title: Label entity example utterance
3
-
description: Learn how to label a machine-learning entity with subcomponents in an example utterance in an intent detail page of the LUIS portal.
3
+
description: Learn how to label a machine-learning entity with subentities in an example utterance in an intent detail page of the LUIS portal.
4
4
ms.topic: conceptual
5
-
ms.date: 05/17/2020
5
+
ms.date: 05/20/2020
6
6
#Customer intent: As a new user, I want to label a machine-learning entity in an example utterance.
7
7
---
8
8
9
9
# Label machine-learning entity in an example utterance
10
10
11
11
Labeling an entity in an example utterance gives LUIS an example of what the entity is and where the entity can appear in the utterance.
12
12
13
+
You can label machine-learned entities and subentities.
14
+
15
+
Because you can't label regular expression, list or prebuilt entities, create a entity or subentity, then add these entities are features, when applicable, to the entity or subentity.
16
+
13
17
## Label example utterances from the Intent detail page
14
18
19
+
To label examples of entities within the utterance, select the utterance's intent.
20
+
15
21
1. Sign in to the [LUIS portal](https://www.luis.ai), and select your **Subscription** and **Authoring resource** to see the apps assigned to that authoring resource.
16
22
1. Open your app by selecting its name on **My Apps** page.
17
23
1. Select the Intent that has the example utterances you want to label for extraction with an entity.
18
24
1. Select the text you want to label then select the entity.
19
25
26
+
## Two techniques to label entities
27
+
28
+
Two labeling techniques are supported on the Intent detail page.
29
+
* Select entity or subentity from **[Entity Palette](label-with-the-entity-palette-visible)** then select within example utterance text. This is the recommended technique because you can visually verify you are working with the correct entity or subentity, according to your schema.
30
+
* Select within the example utterance text first. When you do this, a pop-up menu of [labeling choices](#label-entity-from-in-place-menu) is presented.
31
+
20
32
## Label with the Entity Palette visible
21
33
22
-
After you've planned your schema with entities, keep the **Entity palette** visible while labeling. The **Entity palette** is a reminder of what your entities you planned to extract.
34
+
After you've [planned your schema with entities](luis-how-plan-your-app.md), keep the **Entity palette** visible while labeling. The **Entity palette** is a reminder of what entities you planned to extract.
23
35
24
36
To access the **Entity Palette**, select the **@** symbol in the contextual toolbar above the example utterance list.
25
37
26
38
> [!div class="mx-imgBorder"]
27
39
> 
28
40
29
-
## Label entity from in-place menu
30
-
31
-
Consider the example utterance, `hi, please I want a cheese pizza in 20 minutes`.
32
-
33
-
1. Select the left-most text, then select the right-most text of the entity, then from the in-place menu, pick the entity you want to label with.
The entity palette offers an alternative to the previous labeling experience. It allows you to brush over text to instantly label it with an entity.
42
44
@@ -65,6 +67,17 @@ Entity roles are labeled using the **Entity palette**.
65
67
1. Below the list of entities, select an existing role.
66
68
1. In the example utterance text, label the text with the entity role.
67
69
70
+
## How to label entity from in-place menu
71
+
72
+
Labeling in-place allows you to quickly select the text within the utterance and label it. You can also create a machine learning entity or list entity from the labeled text.
73
+
74
+
Consider the example utterance, `hi, please I want a cheese pizza in 20 minutes`.
75
+
76
+
Select the left-most text, then select the right-most text of the entity, then from the in-place menu, pick the entity you want to label with.
After labeling, review the example utterance and ensure the selected span of text has been underlined with the chosen entity. The solid line indicates the text has been labeled.
@@ -82,12 +95,12 @@ If you relabel text that is already labeled, LUIS may split or merge existing la
82
95
83
96
## Labeling for punctuation
84
97
85
-
You do not need to label for punctuation. Use [application settings](luis-reference-application-settings.md)_word forms_to control if punctuation impacts utterance predictions.
98
+
You do not need to label for punctuation. Use [application settings](luis-reference-application-settings.md) to control how punctuation impacts utterance predictions.
86
99
87
100
## Unlabel entities
88
101
89
102
> [!NOTE]
90
-
> Only machine learned entities can be unlabeled.
103
+
> Only machine learned entities can be unlabeled. You can't label or unlabel regular expression entities, list entities, or prebuilt entities.
91
104
92
105
To unlabel an entity, select the entity and select **Unlabel** from the in-place menu.
0 commit comments