Skip to content

Commit 893d2d1

Browse files
committed
update pr links
1 parent df9e0a9 commit 893d2d1

File tree

7 files changed

+74
-75
lines changed

7 files changed

+74
-75
lines changed

articles/applied-ai-services/form-recognizer/concept-custom-neural.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: applied-ai-services
88
ms.subservice: forms-recognizer
99
ms.topic: conceptual
10-
ms.date: 06/06/2022
10+
ms.date: 07/11/2022
1111
ms.author: lajanuar
1212
ms.custom: references_regions
1313
recommendations: false
@@ -37,8 +37,8 @@ Custom neural models currently only support key-value pairs and selection marks,
3737

3838
With the release of API version **2022-06-30-preview**, custom neural models will support tabular fields (tables):
3939

40-
* Models trained with API version 2022-06-30-preview or later will accept tabular field labels.
41-
* Documents analyzed with custom neural models using API version 2022-06-30-preview or later will produce tabular fields aggregated across the tables.
40+
* Models trained with API version 2022-06-30-preview or later will accept tabular field labels.
41+
* Documents analyzed with custom neural models using API version 2022-06-30-preview or later will produce tabular fields aggregated across the tables.
4242
* The results can be found in the ```analyzeResult``` object's ```documents``` array that is returned following an analysis operation.
4343

4444
Tabular fields support **cross page tables** by default:
@@ -50,23 +50,22 @@ Tabular fields are also useful when extracting repeating information within a do
5050

5151
## Supported regions
5252

53-
Starting on 1 August 2022, Form Recognizer custom neural model training will only be available in the following Azure regions until further notice:
54-
55-
* Brazil South
56-
* Canada Central
57-
* Central India
58-
* Japan East
59-
* North Europe
60-
* South Central US
61-
* Southeast Asia
53+
As of August 01 2022, Form Recognizer custom neural model training will only be available in the following Azure regions until further notice:
6254

55+
* Brazil South
56+
* Canada Central
57+
* Central India
58+
* Japan East
59+
* North Europe
60+
* South Central US
61+
* Southeast Asia
6362

6463
> [!TIP]
6564
> You can [copy a model](disaster-recovery.md) trained in one of the select regions listed above to **any other region** and use it accordingly.
6665
6766
## Best practices
6867

69-
Custom neural models differ from custom template models in a few different ways. The custom template or model relies on a consistent visual template to extract the labeled data. Custom neural models support structured, semi-structured, and unstructured documents to extract fields. When you're choosing between the two model types, start with a neural model and test to determine if it supports your functional needs.
68+
Custom neural models differ from custom template models in a few different ways. The custom template or model relies on a consistent visual template to extract the labeled data. Custom neural models support structured, semi-structured, and unstructured documents to extract fields. When you're choosing between the two model types, start with a neural model, and test to determine if it supports your functional needs.
7069

7170
### Dealing with variations
7271

@@ -87,7 +86,6 @@ Value tokens/words of one field must be either
8786

8887
Values in training cases should be diverse and representative. For example, if a field is named "date", values for this field should be a date. synthetic value like a random string can affect model performance.
8988

90-
9189
## Current Limitations
9290

9391
* The model doesn't recognize values split across page boundaries.
@@ -119,6 +117,7 @@ https://{endpoint}/formrecognizer/documentModels:build?api-version=2022-06-30
119117
}
120118
}
121119
```
120+
122121
## Next steps
123122

124123
* Train a custom model:
@@ -134,4 +133,4 @@ https://{endpoint}/formrecognizer/documentModels:build?api-version=2022-06-30
134133
* View the REST API:
135134

136135
> [!div class="nextstepaction"]
137-
> [Form Recognizer API v3.0](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/AnalyzeDocument)
136+
> [Form Recognizer API v3.0](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/AnalyzeDocument)

articles/applied-ai-services/form-recognizer/includes/how-to-guides/csharp-sdk.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: nitinme
66
ms.service: applied-ai-services
77
ms.subservice: forms-recognizer
88
ms.topic: include
9-
ms.date: 11/02/2021
9+
ms.date: 07/11/2022
1010
ms.author: lajanuar
1111
ms.custom: devx-track-csharp, ignite-fall-2021
1212
---
@@ -28,10 +28,10 @@ ms.custom: devx-track-csharp, ignite-fall-2021
2828
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/) or current version of [.NET Core](https://dotnet.microsoft.com/download/dotnet-core).
2929
* An Azure Storage blob that contains a set of training data. See [Build a training data set for a custom model](../../build-training-data-set.md) for tips and options for putting together your training data set. For this project, you can use the files under the **Train** folder of the [sample data set](https://go.microsoft.com/fwlink/?linkid=2090451) (download and extract *sample_data.zip*).
3030
* 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**.
31-
* You will need the key and endpoint from the resource you create to connect your application to the Form Recognizer API. Paste your key and endpoint into the code below later in the project.
31+
* You'll need the key and endpoint from the resource you create to connect your application to the Form Recognizer API. Paste your key and endpoint into the code below later in the project.
3232
* You can use the free pricing tier (`F0`) to try the service, and upgrade later to a paid tier for production.
3333
> [!TIP]
34-
> Create a Cognitive Services resource if you plan to access multiple cognitive services under a single endpoint/key. For Form Recognizer access only, create a Form Recognizer resource. Please note that you'll need a single-service resource if you intend to use [Azure Active Directory authentication](../../../active-directory/authentication/overview-authentication.md).
34+
> Create a Cognitive Services resource if you plan to access multiple cognitive services under a single endpoint/key. For Form Recognizer access only, create a Form Recognizer resource. Please note that you'll need a single-service resource if you intend to use [Azure Active Directory authentication](../../../../active-directory/authentication/overview-authentication.md).
3535
3636
## Setting up
3737

@@ -78,7 +78,7 @@ In the application's **Program** class, create variables for your resource's key
7878
7979
[!code-csharp[](~/cognitive-services-quickstart-code/dotnet/FormRecognizer/FormRecognizerQuickstart.cs?name=snippet_creds)]
8080

81-
In the application's **Main** method, add a call to the asynchronous tasks used in this project. You will implement them later:
81+
In the application's **Main** method, add a call to the asynchronous tasks used in this project. You'll implement them later:
8282

8383
[!code-csharp[](~/cognitive-services-quickstart-code/dotnet/FormRecognizer/FormRecognizerQuickstart-preview.cs?name=snippet_main)]
8484

@@ -88,11 +88,11 @@ With Form Recognizer, you can create two different client types. The first, `For
8888

8989
### FormRecognizerClient
9090

91-
`FormRecognizerClient` provides operations for:
91+
`FormRecognizerClient` provides the following operations:
9292

93-
* Recognizing form fields and content, using custom models trained to analyze your custom forms. These values are returned in a collection of `RecognizedForm` objects. See example [Analyze custom forms](#analyze-forms-with-a-custom-model).
94-
* Recognizing form content, including tables, lines and words, without the need to train a model. Form content is returned in a collection of `FormPage` objects. See example [Analyze layout](#analyze-layout).
95-
* Recognizing common fields from US receipts, business cards, invoices, and ID documents using a pre-trained model on the Form Recognizer service.
93+
* Recognize form fields and content, using custom models trained to analyze your custom forms. These values are returned in a collection of `RecognizedForm` objects. See example [Analyze custom forms](#analyze-forms-with-a-custom-model).
94+
* Recognize form content, including tables, lines and words, without the need to train a model. Form content is returned in a collection of `FormPage` objects. See example [Analyze layout](#analyze-layout).
95+
* Recognize common fields from US receipts, business cards, invoices, and ID documents using a pre-trained model on the Form Recognizer service.
9696

9797
### FormTrainingClient
9898

@@ -291,7 +291,7 @@ The following code processes the ID document at the given URI and prints the maj
291291

292292
## Train a custom model
293293

294-
This section demonstrates how to train a model with your own data. A trained model can output structured data that includes the key/value relationships in the original form document. After you train the model, you can test and retrain it and eventually use it to reliably extract data from more forms according to your needs.
294+
This section demonstrates how to train a model with your own data. A trained model can output structured data that includes the key/value relationships in the original form document. After you train the model, you can test, retrain, and eventually use it to reliably extract data from more forms according to your needs.
295295

296296
> [!NOTE]
297297
> You can also train models with a graphical user interface such as the [Form Recognizer Sample Labeling tool](../../label-tool.md).
@@ -368,7 +368,7 @@ Submodel Form Type: form-0
368368

369369
### Train a model with labels
370370

371-
You can also train custom models by manually labeling the training documents. Training with labels leads to better performance in some scenarios. To train with labels, you need to have special label information files (`\<filename\>.pdf.labels.json`) in your blob storage container alongside the training documents. The [Form Recognizer Sample Labeling tool](../../label-tool.md) provides a UI to help you create these label files. Once you have them, you can call the `StartTrainingAsync` method with the `uselabels` parameter set to `true`.
371+
You can also train custom models by manually labeling the training documents. Training with labels leads to better performance in some scenarios. To train with labels, you need to have special label information files (`\<filename\>.pdf.labels.json`) in your blob storage container alongside the training documents. The [Form Recognizer Sample Labeling tool](../../label-tool.md) provides a UI to help you create these label files. Once you've them, you can call the `StartTrainingAsync` method with the `uselabels` parameter set to `true`.
372372

373373
[!code-csharp[](~/cognitive-services-quickstart-code/dotnet/FormRecognizer/FormRecognizerQuickstart.cs?name=snippet_trainlabels)]
374374

@@ -505,7 +505,7 @@ This section demonstrates how to manage the custom models stored in your account
505505

506506
### Check the number of models in the FormRecognizer resource account
507507

508-
The following code block checks how many models you have saved in your Form Recognizer account and compares it to the account limit.
508+
The following code block checks how many models you've saved in your Form Recognizer account and compares it to the account limit.
509509

510510
[!code-csharp[](~/cognitive-services-quickstart-code/dotnet/FormRecognizer/FormRecognizerQuickstart.cs?name=snippet_manage_model_count)]
511511

@@ -518,7 +518,7 @@ It can have at most 5000 models.
518518

519519
### List the models currently stored in the resource account
520520

521-
The following code block lists the current models in your account and prints their details to the console.
521+
The following code blocklists the current models in your account and prints their details to the console.
522522

523523
[!code-csharp[](~/cognitive-services-quickstart-code/dotnet/FormRecognizer/FormRecognizerQuickstart.cs?name=snippet_manage_model_list)]
524524

@@ -595,7 +595,7 @@ dotnet run
595595

596596
## Clean up resources
597597

598-
If you want to clean up and remove a Cognitive Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
598+
If you want to cleanup and remove a Cognitive Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
599599

600600
* [Portal](../../../../cognitive-services/cognitive-services-apis-create-account.md#clean-up-resources)
601601
* [Azure CLI](../../../../cognitive-services/cognitive-services-apis-create-account-cli.md#clean-up-resources)

0 commit comments

Comments
 (0)