Skip to content

Commit 1b793f4

Browse files
committed
resolve acrolinx
1 parent a725ab8 commit 1b793f4

File tree

14 files changed

+129
-154
lines changed

14 files changed

+129
-154
lines changed

articles/ai-services/document-intelligence/how-to-guides/includes/set-environment-variables.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Environment variables in Windows aren't case-sensitive. They're typically declar
3939
setx DI_ENDPOINT <yourEndpoint>
4040
```
4141

42-
1. After you set your environment variables, close the Command Prompt window. The values remain modified until you change them again.
42+
1. Close the Command Prompt window after you set your environment variables. The values remain until you change them again.
4343

4444
1. Restart any running programs that read the environment variable. For example, if you're using Visual Studio or Visual Studio Code as your editor, restart before running the sample code.
4545

@@ -80,9 +80,9 @@ To set an environment variable permanently, place an export command in your Bash
8080

8181
Example: `export DI_KEY="<yourKey>"`
8282

83-
1. Save your changes to the *.bash_profile* file.
83+
1. Save your changes to the *bash_profile* file.
8484

85-
1. Run the following command from your terminal window to make the changes effective:
85+
1. To make the changes effective, run the following command from your terminal window:
8686

8787
```bash
8888
source ~/.bash-profile
@@ -127,7 +127,7 @@ To set an environment variable permanently, place an export command in your Bash
127127

128128
1. Save your changes to the *.bashrc* file.
129129

130-
1. Run the following command from your terminal window to make the changes effective:
130+
1. To make the changes effective, run the following command from your terminal window:
131131

132132
```bash
133133
source ~/.bashrc

articles/ai-services/document-intelligence/how-to-guides/includes/v3-0/csharp-sdk.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ monikerRange: 'doc-intel-3.1.0 || doc-intel-3.0.0'
2525

2626
:::moniker range="doc-intel-3.0.0"
2727
[Client library](/dotnet/api/overview/azure/ai.formrecognizer-readme?view=azure-dotnet&preserve-view=true) | [SDK reference](https://azuresdkdocs.blob.core.windows.net/$web/dotnet/Azure.AI.FormRecognizer/4.0.0/index.html) | [REST API reference](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-2022-08-31/operations/AnalyzeDocument) | [Package](https://www.nuget.org/packages/Azure.AI.FormRecognizer/4.0.0) | [Samples](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/formrecognizer/Azure.AI.FormRecognizer/samples) |[Supported REST API versions](../../../sdk-overview-v3-0.md)
28-
:::moniker-end
28+
::: moniker-end
2929

3030
## Prerequisites
3131

@@ -98,7 +98,7 @@ monikerRange: 'doc-intel-3.1.0 || doc-intel-3.0.0'
9898

9999
1. Delete the pre-existing code, including the line `Console.Writeline("Hello World!")`.
100100

101-
1. Select one of the following code samples to copy and paste into your application's *Program.cs* file:
101+
1. Select one of the following code samples and copy/paste into your application's *Program.cs* file:
102102

103103
- [prebuilt-read](#use-the-read-model)
104104
- [prebuilt-layout](#use-the-layout-model)
@@ -178,7 +178,7 @@ foreach (DocumentLanguage language in result.Languages)
178178
> [!div class="nextstepaction"]
179179
<!-- > [I &#8203;ran into an issue when running the application.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=csharp&Product=FormRecognizer&Page=how-to&Section=run-read) -->
180180
181-
Visit the Azure samples repository on GitHub to view the [read model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/read-model-output.md).
181+
Visit the Azure samples repository on GitHub and view the [`read` model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/read-model-output.md).
182182

183183
## Use the Layout model
184184

@@ -276,7 +276,7 @@ for (int i = 0; i < result.Tables.Count; i++)
276276

277277
```
278278

279-
Visit the Azure samples repository on GitHub to view the [layout model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/layout-model-output.md).
279+
Visit the Azure samples repository on GitHub and view the [layout model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/layout-model-output.md).
280280

281281
## Use the General document model
282282

@@ -376,7 +376,7 @@ for (int i = 0; i < result.Tables.Count; i++)
376376

377377
```
378378

379-
Visit the Azure samples repository on GitHub to view the [general document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/general-document-model-output.md).
379+
Visit the Azure samples repository on GitHub and view the [general document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/general-document-model-output.md).
380380

381381
## Use the W-2 tax model
382382

@@ -488,7 +488,7 @@ for (int i = 0; i < result.Documents.Count; i++)
488488
}
489489
```
490490

491-
Visit the Azure samples repository on GitHub to view the [W-2 tax model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/w2-tax-model-output.md).
491+
Visit the Azure samples repository on GitHub and view the [W-2 tax model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/w2-tax-model-output.md).
492492

493493
## Use the Invoice model
494494

@@ -598,7 +598,7 @@ for (int i = 0; i < result.Documents.Count; i++)
598598
}
599599
```
600600

601-
Visit the Azure samples repository on GitHub to view the [invoice model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/general-document-model-output.md).
601+
Visit the Azure samples repository on GitHub and view the [invoice model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/general-document-model-output.md).
602602

603603
## Use the Receipt model
604604

@@ -691,7 +691,7 @@ foreach (AnalyzedDocument receipt in receipts.Documents)
691691

692692
```
693693

694-
Visit the Azure samples repository on GitHub to view the [receipt model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/receipt-model-output.md).
694+
Visit the Azure samples repository on GitHub and view the [receipt model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/receipt-model-output.md).
695695

696696
## ID document model
697697

@@ -799,7 +799,7 @@ if (identityDocument.Fields.TryGetValue("Sex", out DocumentField sexfield))
799799

800800
```
801801

802-
Visit the Azure samples repository on GitHub to view the [id-document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/id-document-model-output.md).
802+
Visit the Azure samples repository on GitHub and view the [id-document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/id-document-model-output.md).
803803

804804
## Use the Business card model
805805

@@ -1005,4 +1005,4 @@ foreach (AnalyzedDocument businessCard in businessCards.Documents)
10051005

10061006
```
10071007

1008-
Visit the Azure samples repository on GitHub to view the [business card model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/business-card-model-output.md).
1008+
Visit the Azure samples repository on GitHub and view the [business card model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/FormRecognizer/how-to-guide/business-card-model-output.md).

articles/ai-services/document-intelligence/how-to-guides/includes/v3-0/java-sdk.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ monikerRange: 'doc-intel-3.1.0 || doc-intel-3.0.0'
3131
- An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services/).
3232
- The latest version of [Visual Studio Code](https://code.visualstudio.com/) or your preferred IDE. See [Java in Visual Studio Code](https://code.visualstudio.com/docs/languages/java).
3333

34-
- Visual Studio Code offers a *Coding Pack for Java* for Windows and macOS. The coding pack is a bundle of VS Code, the Java Development Kit (JDK), and a collection of suggested extensions by Microsoft. The Coding Pack can also be used to fix an existing development environment.
35-
- If you're using VS Code and the Coding Pack For Java, install the [**Gradle for Java**](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-gradle) extension.
34+
- Visual Studio Code offers a *Coding Pack for Java* for Windows and macOS. The coding pack is a bundle of `VS Code`, the Java Development Kit (JDK), and a collection of suggested extensions by Microsoft. The Coding Pack can also be used to fix an existing development environment.
35+
- If you're using `VS Code` and the Coding Pack For Java, install the [**Gradle for Java**](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-gradle) extension.
3636

3737
If you aren't using Visual Studio Code, make sure you have the following installed in your development environment:
3838

@@ -130,14 +130,14 @@ To interact with the Document Intelligence service, create an instance of the `D
130130
>
131131
> You can create a new file by using PowerShell. Open a PowerShell window in your project directory by holding down the **Shift** key and right-clicking the folder, then type the following command: *New-Item FormRecognizer.java*.
132132
133-
1. Open the *FormRecognizer.java* file and select one of the following code samples to copy and paste into your application:
133+
1. Open the *FormRecognizer.java* file and select one of the following code samples and copy/paste into your application:
134134

135-
- The [prebuilt-read](#use-the-read-model) model is at the core of all Document Intelligence models and can detect lines, words, locations, and languages. The layout, general document, prebuilt, and custom models all use the read model as a foundation for extracting texts from documents.
135+
- The [prebuilt-read](#use-the-read-model) model is at the core of all Document Intelligence models and can detect lines, words, locations, and languages. The layout, general document, prebuilt, and custom models all use the `read` model as a foundation for extracting texts from documents.
136136
- The [prebuilt-layout](#use-the-layout-model) model extracts text and text locations, tables, selection marks, and structure information from documents and images.
137137
- The [prebuilt-tax.us.w2](#use-the-w-2-tax-model) model extracts information reported on US Internal Revenue Service (IRS) tax forms.
138138
- The [prebuilt-invoice](#use-the-invoice-model) model extracts key fields and line items from sales invoices in various formats.
139139
- The [prebuilt-receipt](#use-the-receipt-model) model extracts key information from printed and handwritten sales receipts.
140-
- The [prebuilt-idDocument](#use-the-id-document-model) model extracts key information from US Drivers Licenses, international passport biographical pages, US state IDs, social security cards, and permanent resident cards or *green cards*.
140+
- The [prebuilt-idDocument](#use-the-id-document-model) model extracts key information from US Drivers Licenses; international passport biographical pages; US state IDs; social security cards; and permanent resident cards.
141141

142142
1. Type the following commands:
143143

@@ -211,7 +211,7 @@ analyzeLayoutResult.getPages().forEach(documentPage -> {
211211
}
212212
```
213213

214-
Visit the Azure samples repository on GitHub to view the [read model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/read-model-output.md).
214+
Visit the Azure samples repository on GitHub and view the [`read` model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/read-model-output.md).
215215

216216
## Use the Layout model
217217

@@ -305,7 +305,7 @@ private static String getBoundingCoordinates(List < Point > boundingPolygon) {
305305
}
306306
```
307307

308-
Visit the Azure samples repository on GitHub to view the [layout model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/layout-model-output.md).
308+
Visit the Azure samples repository on GitHub and view the [layout model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/layout-model-output.md).
309309

310310
## Use the General document model
311311

@@ -398,7 +398,7 @@ analyzeResult.getKeyValuePairs().forEach(documentKeyValuePair -> {
398398
}
399399
```
400400

401-
Visit the Azure samples repository on GitHub to view the [general document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/general-document-model-output.md).
401+
Visit the Azure samples repository on GitHub and view the [general document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/general-document-model-output.md).
402402

403403
## Use the W-2 tax model
404404

@@ -534,7 +534,7 @@ for (int i = 0; i < analyzeTaxResult.getDocuments().size(); i++) {
534534
}
535535
```
536536

537-
Visit the Azure samples repository on GitHub to view the [W-2 tax model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/w2-tax-model-output.md).
537+
Visit the Azure samples repository on GitHub and view the [W-2 tax model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/w2-tax-model-output.md).
538538

539539
## Use the Invoice model
540540

@@ -689,7 +689,7 @@ for (int i = 0; i < analyzeInvoiceResult.getDocuments().size(); i++) {
689689
}
690690
```
691691

692-
Visit the Azure samples repository on GitHub to view the [invoice model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/invoice-model-output.md).
692+
Visit the Azure samples repository on GitHub and view the [invoice model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/invoice-model-output.md).
693693

694694
## Use the Receipt-model
695695

@@ -816,7 +816,7 @@ for (int i = 0; i < receiptResults.getDocuments().size(); i++) {
816816
}
817817
```
818818

819-
Visit the Azure samples repository on GitHub to view the [receipt model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/receipt-model-output.md).
819+
Visit the Azure samples repository on GitHub and view the [receipt model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/receipt-model-output.md).
820820

821821
## Use the ID document model
822822

@@ -938,7 +938,7 @@ for (int i = 0; i < identityDocumentResults.getDocuments().size(); i++) {
938938
}
939939
```
940940

941-
Visit the Azure samples repository on GitHub to view the [ID document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/id-document-output.md).
941+
Visit the Azure samples repository on GitHub and view the [ID document model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/id-document-output.md).
942942

943943
## Use the Business card model
944944

@@ -1142,4 +1142,4 @@ for (int i = 0; i < businessCardPageResults.getDocuments().size(); i++) {
11421142
}
11431143
```
11441144

1145-
Visit the Azure samples repository on GitHub to view the [business card model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/business-card-model-output.md).
1145+
Visit the Azure samples repository on GitHub and view the [business card model output](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/java/FormRecognizer/how-to-guide/business-card-model-output.md).

0 commit comments

Comments
 (0)