Skip to content

Commit 3a34dd1

Browse files
committed
edits
1 parent a2b8288 commit 3a34dd1

File tree

4 files changed

+13
-19
lines changed

4 files changed

+13
-19
lines changed

articles/cognitive-services/LUIS/includes/import-app-steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.author: diberry
1414
1. From the **Manage** section, on the **Versions** tab, select the version, then select **Clone** to clone the version, and give it a new 10-character name, then select **Done** to finish the clone process. Because the version name is used as part of the URL route, the name can't contain any characters that are not valid in a URL.
1515

1616
> [!TIP]
17-
> Cloning a version into a new version is a best practice before you modify your app. When you finish a version, export the version (as a .json or .lu file), and check the file into your source control system.
17+
> Cloning into a new version is a best practice before you modify your app. When you finish a version, export the version (as a .json or .lu file), and check the file into your source control system.
1818
1919
1. Select **Build** then **Intents** to see the intents, the main building blocks of a LUIS app.
2020

Loading

articles/cognitive-services/LUIS/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
href: tutorial-publish-settings.md
5252
- name: Create and use entities
5353
items:
54-
- name: With regular expression entities
54+
- name: Regular expression entities
5555
href: tutorial-regex-entity.md
56-
- name: With list entities
56+
- name: List entities
5757
href: luis-quickstart-intent-and-list-entity.md
58-
- name: With entity roles
58+
- name: Entity roles
5959
href: tutorial-entity-roles.md
6060
displayName: roles, geographyV2, context
6161
- name: Group and extract related data with composite entities

articles/cognitive-services/LUIS/tutorial-regex-entity.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,30 @@ ms.author: diberry
1515
---
1616

1717
# Tutorial: Get well-formatted data from the utterance
18-
In this tutorial, create an app to extract consistently formatted data from an utterance using the **Regular Expression** entity.
18+
In this tutorial, create a regular expression entity to extract consistently formatted data from an utterance.
1919

2020
[!INCLUDE [Uses preview portal](includes/uses-portal-preview.md)]
2121

2222
**In this tutorial, you learn how to:**
2323

2424
<!-- green checkmark -->
2525
> [!div class="checklist"]
26-
> * Create a new app
26+
> * Import app
2727
> * Add intent
2828
> * Add regular expression entity
29-
> * Train
30-
> * Publish
31-
> * Get intents and entities from endpoint
29+
> * Train, publish, and query app to get extracted data
3230
3331
[!INCLUDE [LUIS Free account](../../../includes/cognitive-services-luis-free-key-short.md)]
3432

3533
## Regular expression entities
3634

37-
Use the regular expression entity to pull out well-formatted text from an utterance. While the utterance's intent is always determined with machine-learning, this specific entity type is not machine-learned. A good match for the regular expression entity is any text that can consistently be represented by a regular expression.
35+
Use the regular expression entity to pull out well-formatted text from an utterance. While the utterance's intent is always determined with machine-learning, this specific entity type is not machine-learned. A good use for the regular expression entity is any text that can consistently be represented by a [regular expression](https://docs.microsoft.com/dotnet/standard/base-types/regular-expression-language-quick-reference).
3836

3937
`Send pizza delivery time to x123432`
4038

4139
This example uses a _short code_ for sending text messages. This short code is a 5 or 6-digit numeric code, prefixed with an x, and can be described with the regular expression `x\d{5,6}`.
4240

43-
When you add a regular expression entity to a LUIS app, you don't need to label the text with the regular express entity. It is applied to all utterances in all intents.
41+
When you add a regular expression entity to a LUIS app, you don't need to [label](label-entity-example-utterance.md) the text with the regular express entity. It is applied to all utterances in all intents.
4442

4543
## Import example .json to begin app
4644

@@ -50,9 +48,7 @@ When you add a regular expression entity to a LUIS app, you don't need to label
5048

5149
## Create intent for sending confirmation text messages
5250

53-
1. [!INCLUDE [Start in Build section](../../../includes/cognitive-services-luis-tutorial-build-section.md)]
54-
55-
1. Select **Create new intent**.
51+
1. Select **+ Create** to create a new intent to classify an utterance's intent for sending a confirmation text.
5652

5753
1. Enter `ConfirmationText` in the pop-up dialog box then select **Done**.
5854

@@ -67,9 +63,7 @@ When you add a regular expression entity to a LUIS app, you don't need to label
6763
To extract machine-learned entities, you should provide examples that include the entity in a variety of utterances but with this non-machine-learned entity, the variation is not important. As long as text matches the regular expression, it will be extracted.
6864

6965
## Use the regular expression entity for well-formatted data
70-
The regular expression entity to match the text number. This regular expression matches text but ignores case and culture variants.
71-
72-
Create a regular expression entity to tell LUIS what the text number format is in the following steps:
66+
Create a regular expression entity to match the text number. This regular expression matches text but ignores case and culture variants.
7367

7468
1. Select **Entities** in the left panel.
7569

@@ -85,12 +79,12 @@ Create a regular expression entity to tell LUIS what the text number format is i
8579
> [!div class="mx-imgBorder"]
8680
> ![Enter regular expression to extract data from example utterance](./media/luis-quickstart-intents-regex-entity/pizza-set-regular-expression-for-new-entity.png)
8781
88-
1. Select **Intents** from the left menu, then **ConfirmationText** intent to see the regular expression labeled in the utterances.
82+
1. Select **Intents** from the left menu, then the **ConfirmationText** intent to see the regular expression labeled in the utterances.
8983

9084
> [!div class="mx-imgBorder"]
9185
> ![View regular expression labeled in example utterances](./media/luis-quickstart-intents-regex-entity/pizza-reg-ex-entity-shown-example-utterances-intent.png)
9286
93-
Because the entity is not a machine-learned entity, the entity is applied to the utterances and displayed in the LUIS website as soon as it is created.
87+
Because the entity is not a machine-learned entity, the entity is applied to the utterances and displayed in the LUIS portal as soon as it is created.
9488

9589
## Train the app before testing or publishing
9690

0 commit comments

Comments
 (0)