Skip to content

Commit 218a2af

Browse files
committed
update 'applies to' message
1 parent ae4d76e commit 218a2af

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

articles/applied-ai-services/form-recognizer/deploy-label-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Follow these steps to create a new resource using the Azure portal:
9696

9797
### Continuous deployment
9898

99-
After you have created your web app, you can enable the continuous deployment option:
99+
After you've created your web app, you can enable the continuous deployment option:
100100

101101
* From the left pane, choose **Container settings**.
102102
* In the main window, navigate to Continuous deployment and toggle between the **On** and **Off** buttons to set your preference:

articles/applied-ai-services/form-recognizer/label-tool.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ In this article, you'll use the Form Recognizer REST API with the Sample Labelin
3737

3838
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
3939
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesFormRecognizer" title="Create a Form Recognizer resource" target="_blank">create a Form Recognizer resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
40-
* You'll need the key and endpoint from the resource you create to connect your application to the Form Recognizer API. You'll paste your key and endpoint into the code below later in the quickstart.
40+
* You'll need the key and endpoint from the resource you create to connect your application to the Form Recognizer API. You'll paste your key and endpoint into the code later in the quickstart.
4141
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
4242
* A set of at least six forms of the same type. You'll use this data to train the model and test a form. You can use a [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) (download and extract *sample_data.zip*) for this quickstart. Upload the training files to the root of a blob storage container in a standard-performance-tier Azure Storage account.
4343

@@ -71,7 +71,7 @@ You'll use the Docker engine to run the Sample Labeling tool. Follow these steps
7171

7272
| Container | Minimum | Recommended|
7373
|:--|:--|:--|
74-
|Sample Labeling tool|2 core, 4-GB memory|4 core, 8-GB memory|
74+
|Sample Labeling tool|`2` core, 4-GB memory|`4` core, 8-GB memory|
7575

7676
Install Docker on your machine by following the appropriate instructions for your operating system:
7777

@@ -91,7 +91,7 @@ You'll use the Docker engine to run the Sample Labeling tool. Follow these steps
9191
docker run -it -p 3000:80 mcr.microsoft.com/azure-cognitive-services/custom-form/labeltool:latest-2.1 eula=accept
9292
```
9393

94-
This command will make the Sample Labeling tool available through a web browser. Go to `http://localhost:3000`.
94+
This command will make the sample-labeling tool available through a web browser. Go to `http://localhost:3000`.
9595

9696
> [!NOTE]
9797
> You can also label documents and train models using the Form Recognizer REST API. To train and Analyze with the REST API, see [Train with labels using the REST API and Python](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/python/FormRecognizer/rest/python-labeled-data.md).
@@ -173,6 +173,7 @@ Next, you'll create tags (labels) and apply them to the text elements that you w
173173
1. Press Enter to save the tag.
174174
1. In the main editor, select words from the highlighted text elements or a region you drew in.
175175
1. Select the tag you want to apply, or press the corresponding keyboard key. The number keys are assigned as hotkeys for the first 10 tags. You can reorder your tags using the up and down arrow icons in the tag editor pane.
176+
1. Follow these steps to label at least five of your forms.
176177
> [!Tip]
177178
> Keep the following tips in mind when you're labeling your forms:
178179
>
@@ -188,8 +189,6 @@ Next, you'll create tags (labels) and apply them to the text elements that you w
188189

189190
:::image type="content" source="media/label-tool/main-editor-2-1.png" alt-text="Main editor window of Sample Labeling tool.":::
190191

191-
Follow the steps above to label at least five of your forms.
192-
193192
### Specify tag value types
194193

195194
You can set the expected data type for each tag. Open the context menu to the right of a tag and select a type from the menu. This feature allows the detection algorithm to make assumptions that will improve the text-detection accuracy. It also ensures that the detected values will be returned in a standardized format in the final JSON output. Value type information is saved in the **fields.json** file in the same path as your label files.
@@ -264,7 +263,7 @@ Choose the Train icon on the left pane to open the Training page. Then select th
264263

265264
:::image type="content" source="media/label-tool/train-screen.png" alt-text="Training view.":::
266265

267-
After training finishes, examine the **Average Accuracy** value. If it's low, you should add more input documents and repeat the steps above. The documents you've already labeled will remain in the project index.
266+
After training finishes, examine the **Average Accuracy** value. If it's low, you should add more input documents and repeat the labeling steps. The documents you've already labeled will remain in the project index.
268267

269268
> [!TIP]
270269
> You can also run the training process with a REST API call. To learn how to do this, see [Train with labels using Python](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/python/FormRecognizer/rest/python-labeled-data.md).
@@ -273,14 +272,16 @@ After training finishes, examine the **Average Accuracy** value. If it's low, yo
273272

274273
With Model Compose, you can compose up to 100 models to a single model ID. When you call Analyze with the composed `modelID`, Form Recognizer will first classify the form you submitted, choose the best matching model, and then return results for that model. This operation is useful when incoming forms may belong to one of several templates.
275274

276-
To compose models in the Sample Labeling tool, select the Model Compose (merging arrow) icon on the left. On the left, select the models you wish to compose together. Models with the arrows icon are already composed models.
277-
Choose the **Compose button**. In the pop-up, name your new composed model and select **Compose**. When the operation completes, your newly composed model should appear in the list.
275+
* To compose models in the Sample Labeling tool, select the Model Compose (merging arrow) icon from the navigation bar.
276+
* Select the models you wish to compose together. Models with the arrows icon are already composed models.
277+
* Choose the **Compose button**. In the pop-up, name your new composed model and select **Compose**.
278+
* When the operation completes, your newly composed model should appear in the list.
278279

279280
:::image type="content" source="media/label-tool/model-compose.png" alt-text="Model compose UX view.":::
280281

281282
## Analyze a form
282283

283-
Select the Analyze (light bulb) icon on the left to test your model. Select source 'Local file'. Browse for a file and select a file from the sample dataset that you unzipped in the test folder. Then choose the **Run analysis** button to get key/value pairs, text and tables predictions for the form. The tool will apply tags in bounding boxes and will report the confidence of each tag.
284+
Select the Analyze icon from the navigation bar to test your model. Select source 'Local file'. Browse for a file and select a file from the sample dataset that you unzipped in the test folder. Then choose the **Run analysis** button to get key/value pairs, text and tables predictions for the form. The tool will apply tags in bounding boxes and will report the confidence of each tag.
284285

285286
:::image type="content" source="media/analyze.png" alt-text="Screenshot: analyze-a-custom-form window":::
286287

@@ -303,7 +304,7 @@ Go to your project settings page (slider icon) and take note of the security tok
303304

304305
### Restore project credentials
305306

306-
When you want to resume your project, you first need to create a connection to the same blob storage container. To do so, repeat the steps above. Then, go to the application settings page (gear icon) and see if your project's security token is there. If it isn't, add a new security token and copy over your token name and key from the previous step. Select **Save** to retain your settings.
307+
When you want to resume your project, you first need to create a connection to the same blob storage container. To do so, repeat the steps. Then, go to the application settings page (gear icon) and see if your project's security token is there. If it isn't, add a new security token and copy over your token name and key from the previous step. Select **Save** to retain your settings.
307308

308309
### Resume a project
309310

articles/applied-ai-services/form-recognizer/quickstarts/try-sample-label-tool.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ recommendations: false
2323

2424
>[!TIP]
2525
>
26-
> * For an enhanced experience and advanced model quality, try the [Form Recognizer v3.0 Studio ](https://formrecognizer.appliedai.azure.com/studio).
26+
> * For an enhanced experience and advanced model quality, try the [Form Recognizer v3.0 Studio](https://formrecognizer.appliedai.azure.com/studio).
2727
> * The v3.0 Studio supports any model trained with v2.1 labeled data.
2828
> * You can refer to the API migration guide for detailed information about migrating from v2.1 to v3.0.
2929
> * *See* our [**REST API**](get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true) or [**C#**](get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true), [**Java**](get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true), [**JavaScript**](get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true), or [Python](get-started-sdks-rest-api.md?view=form-recog-3.0.0&preserve-view=true) SDK quickstarts to get started with the v3.0 version.
@@ -242,7 +242,7 @@ Use the tags editor pane to create a new tag you'd like to identify:
242242

243243
1. In the main editor, select the total value from the highlighted text elements.
244244

245-
1. Select the Total tag to apply to the value, or press the corresponding keyboard key. The number keys are assigned as hotkeys for the first 10 tags. You can reorder your tags using the up and down arrow icons in the tag editor pane.
245+
1. Select the Total tag to apply to the value, or press the corresponding keyboard key. The number keys are assigned as hotkeys for the first 10 tags. You can reorder your tags using the up and down arrow icons in the tag editor pane. Follow these steps to label all five forms in the sample dataset:
246246

247247
> [!Tip]
248248
> Keep the following tips in mind when you're labeling your forms:
@@ -258,8 +258,6 @@ Use the tags editor pane to create a new tag you'd like to identify:
258258
> * To remove an applied tag without deleting the tag itself, select the tagged rectangle on the document view and press the delete key.
259259
>
260260
261-
1. Continue to follow the steps above to label all five forms in the sample dataset.
262-
263261
:::image type="content" source="../media/label-tool/custom-1.jpg" alt-text="Label the samples.":::
264262

265263
#### Train a custom model
@@ -275,7 +273,7 @@ Choose the Train icon on the left pane to open the Training page. Then select th
275273

276274
#### Analyze a custom form
277275

278-
1. Select the **Analyze** (light bulb) icon on the left to test your model.
276+
1. Select the **Analyze** icon from the navigation bar to test your model.
279277

280278
1. Select source **Local file** and browse for a file to select from the sample dataset that you unzipped in the test folder.
281279

0 commit comments

Comments
 (0)