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/applied-ai-services/form-recognizer/quickstarts/try-v3-csharp-sdk.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ manager: nitinme
7
7
ms.service: applied-ai-services
8
8
ms.subservice: forms-recognizer
9
9
ms.topic: quickstart
10
-
ms.date: 03/14/2022
10
+
ms.date: 03/16/2022
11
11
ms.author: lajanuar
12
12
recommendations: false
13
13
---
@@ -526,10 +526,7 @@ That's it, congratulations!
526
526
527
527
In this quickstart, you used the Form Recognizer C# SDK to analyze various forms and documents in different ways. Next, explore the reference documentation to learn about Form Recognizer API in more depth.
528
528
529
-
## Next steps
529
+
## Next step
530
530
531
531
> [!div class="nextstepaction"]
532
-
> [REST API v3.0 reference documentation](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-1/operations/AnalyzeDocument)
> [Learn more about Form Recognizer REST API v3.0](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/AnalyzeDocument)
1. Navigate to the `java` directory and create a file called **`FormRecognizer.java`**.
117
+
1. Navigate to the `java` directory and create a file named **`FormRecognizer.java`**.
118
118
119
119
> [!TIP]
120
120
>
121
121
> * You can create a new file using PowerShell.
122
122
> * Open a PowerShell window in your project directory by holding down the Shift key and right-clicking the folder.
123
123
> * Type the following command **New-Item FormRecognizer.java**.
124
124
125
-
1. Open the `FormRecognizer.java` file and select one of the following code samples to copy and paste your into your application:
125
+
1. Open the `FormRecognizer.java` file and select one of the following code samples to copy and paste into your application:
126
126
127
127
* [**General document**](#general-document-model)
128
128
@@ -145,7 +145,7 @@ Extract text, tables, structure, key-value pairs, and named entities from docume
145
145
> * We've added the file URI value to the `documentUrl` variable in the main method.
146
146
> * For simplicity, all the entity fields that the service returns are not shown here. To see the list of all supported fields and corresponding types, see our [General document](../concept-general-document.md#named-entity-recognition-ner-categories) concept page.
147
147
148
-
**Add the following code sample to the `FormRecognizer` class. Make sure you update the key and endpoint variables with values from your Form Recognizer instance in the Azure portal:**
148
+
**Add the following code sample to the `FormRecognizer.java` file. Make sure you update the key and endpoint variables with values from your Form Recognizer instance in the Azure portal:**
149
149
150
150
```java
151
151
@@ -255,7 +255,7 @@ Extract text, selection marks, text styles, table structures, and bounding regio
255
255
> * To analyze a given file at a URI, you'll use the `beginAnalyzeDocumentFromUrl` method and pass `prebuilt-layout` as the model Id. The returned value is an `AnalyzeResult` object containing data about the submitted document.
256
256
> * We've added the file URI value to the `documentUrl` variable in the main method.
257
257
258
-
**Add the following code sample to the `FormRecognizer` class. Make sure you update the key and endpoint variables with values from your Form Recognizer instance in the Azure portal:**
258
+
**Add the following code sample to the `FormRecognizer.java` file. Make sure you update the key and endpoint variables with values from your Form Recognizer instance in the Azure portal:**
259
259
260
260
```java
261
261
@@ -286,6 +286,7 @@ Extract text, selection marks, text styles, table structures, and bounding regio
@@ -343,7 +344,7 @@ Visit the Azure samples repository on GitHub to view the [layout model output](h
343
344
344
345
## Prebuilt model
345
346
346
-
Analyze and extract common fields from specific document types using a prebuilt model. In this example, we'll analyze an invoice using the **prebuilt-invoice** model. In this example, we'll analyze an invoice using the **prebuilt-invoice** model.
347
+
Analyze and extract common fields from specific document types using a prebuilt model. In this example, we'll analyze an invoice using the **prebuilt-invoice** model.
347
348
348
349
> [!TIP]
349
350
> You aren't limited to invoices—there are several prebuilt models to choose from, each of which has its own set of supported fields. The model to use for the analyze operation depends on the type of document to be analyzed. See [**model data extraction**](../concept-model-overview.md#model-data-extraction).
@@ -357,7 +358,7 @@ Analyze and extract common fields from specific document types using a prebuilt
357
358
> * To analyze a given file at a URI, you'll use the `beginAnalyzeDocuments` method and pass `PrebuiltModels.Invoice` as the model Id. The returned value is a `result` object containing data about the submitted document.
358
359
> * For simplicity, all the key-value pairs that the service returns are not shown here. To see the list of all supported fields and corresponding types, see our [Invoice](../concept-invoice.md#field-extraction) concept page.
359
360
360
-
**Add the following code sample to your form_recognizer_quickstart.py application. Make sure you update the key and endpoint variables with values from your Form Recognizer instance in the Azure portal:**
361
+
**Add the following code sample to the `FormRecognizer.java` file. Make sure you update the key and endpoint variables with values from your Form Recognizer instance in the Azure portal:**
361
362
362
363
```java
363
364
@@ -381,12 +382,14 @@ Analyze and extract common fields from specific document types using a prebuilt
@@ -515,7 +518,7 @@ Analyze and extract common fields from specific document types using a prebuilt
515
518
516
519
### Prebuilt model output
517
520
518
-
Visit the Azure samples repository on GitHub to view the [prebuilt invoice model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/tree/master/java/FormRecognizer)
521
+
Visit the Azure samples repository on GitHub to view the [prebuilt invoice model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/v3-java-sdk-prebuilt-invoice-output.md)
519
522
520
523
## Build and run your application
521
524
@@ -537,10 +540,7 @@ That's it, congratulations!
537
540
538
541
In this quickstart, you used the Form Recognizer Java SDK to analyze various forms and documents in different ways. Next, explore the reference documentation to learn about Form Recognizer API in more depth.
539
542
540
-
## Next steps
541
-
542
-
> [!div class="nextstepaction"]
543
-
> [REST API v3.0 reference documentation](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-1/operations/AnalyzeDocument)
> [Learn more about Form Recognizer REST API v3.0](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/AnalyzeDocument)
Copy file name to clipboardExpand all lines: articles/applied-ai-services/form-recognizer/quickstarts/try-v3-python-sdk.md
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -675,10 +675,7 @@ That's it, congratulations!
675
675
676
676
In this quickstart, you used the Form Recognizer Python SDK to analyze various forms in different ways. Next, explore the reference documentation to learn more about Form Recognizer v3.0 API.
677
677
678
-
## Next steps
678
+
## Next step
679
679
680
680
> [!div class="nextstepaction"]
681
-
> [REST API v3.0 reference documentation](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-1/operations/AnalyzeDocument)
> [Learn more about Form Recognizer REST API v3.0](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-2/operations/AnalyzeDocument)
0 commit comments