Skip to content

Commit d5837fc

Browse files
committed
[Cogsvcs] LUIS - labeling
1 parent c657ad3 commit d5837fc

File tree

1 file changed

+29
-16
lines changed

1 file changed

+29
-16
lines changed

articles/cognitive-services/LUIS/label-entity-example-utterance.md

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,44 @@
11
---
22
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.
44
ms.topic: conceptual
5-
ms.date: 05/17/2020
5+
ms.date: 05/20/2020
66
#Customer intent: As a new user, I want to label a machine-learning entity in an example utterance.
77
---
88

99
# Label machine-learning entity in an example utterance
1010

1111
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.
1212

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+
1317
## Label example utterances from the Intent detail page
1418

19+
To label examples of entities within the utterance, select the utterance's intent.
20+
1521
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.
1622
1. Open your app by selecting its name on **My Apps** page.
1723
1. Select the Intent that has the example utterances you want to label for extraction with an entity.
1824
1. Select the text you want to label then select the entity.
1925

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+
2032
## Label with the Entity Palette visible
2133

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.
2335

2436
To access the **Entity Palette**, select the **@** symbol in the contextual toolbar above the example utterance list.
2537

2638
> [!div class="mx-imgBorder"]
2739
> ![Screenshot of entity palette on Intent details page.](media/label-utterances/entity-palette-from-tool-bar.png)
2840
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.
34-
35-
> [!div class="mx-imgBorder"]
36-
> ![Label complete machine-learning entity](media/label-utterances/label-steps-in-place-menu.png)
37-
38-
39-
## Label entity from Entity Palette
41+
## How to label entity from Entity Palette
4042

4143
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.
4244

@@ -65,6 +67,17 @@ Entity roles are labeled using the **Entity palette**.
6567
1. Below the list of entities, select an existing role.
6668
1. In the example utterance text, label the text with the entity role.
6769

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.
77+
78+
> [!div class="mx-imgBorder"]
79+
> ![Label complete machine-learning entity](media/label-utterances/label-steps-in-place-menu.png)
80+
6881
## Review labeled text
6982

7083
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
8295

8396
## Labeling for punctuation
8497

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.
8699

87100
## Unlabel entities
88101

89102
> [!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.
91104
92105
To unlabel an entity, select the entity and select **Unlabel** from the in-place menu.
93106

0 commit comments

Comments
 (0)