Skip to content

Commit 46ca879

Browse files
committed
review fixes
1 parent 207d688 commit 46ca879

File tree

6 files changed

+21
-19
lines changed

6 files changed

+21
-19
lines changed

articles/ai-services/language-service/language-detection/includes/quickstarts/csharp-sdk.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ ms.date: 03/29/2024
77
ms.author: jboback
88
---
99

10-
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet-preview) | [Additional samples](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics/samples) | [Package (NuGet)](https://www.nuget.org/packages/Azure.AI.TextAnalytics/5.2.0) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
10+
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet-preview) | [More samples](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics/samples) | [Package (NuGet)](https://www.nuget.org/packages/Azure.AI.TextAnalytics/5.2.0) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
1111

12-
Use this quickstart to create a language detection application with the client library for .NET. In the following example, you will create a C# application that can identify the language a text sample was written in.
12+
Use this quickstart to create a language detection application with the client library for .NET. In the following example, you create a C# application that can identify the language a text sample was written in.
1313

1414
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
1515

@@ -18,18 +18,18 @@ Use this quickstart to create a language detection application with the client l
1818

1919
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
2020
* The [Visual Studio IDE](https://visualstudio.microsoft.com/vs/)
21-
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics" title="Create a Language resource" target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
22-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
21+
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics" title="Create a Language resource" target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
22+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code later in the quickstart.
2323
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
24-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
24+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
2525

2626

2727

2828
## Setting up
2929

3030
### Create a new .NET Core application
3131

32-
Using the Visual Studio IDE, create a new .NET Core console app. This will create a "Hello World" project with a single C# source file: *program.cs*.
32+
Using the Visual Studio IDE, create a new .NET Core console app. This creates a "Hello World" project with a single C# source file: *program.cs*.
3333

3434
Install the client library by right-clicking on the solution in the **Solution Explorer** and selecting **Manage NuGet Packages**. In the package manager that opens select **Browse** and search for `Azure.AI.TextAnalytics`. Select version `5.2.0`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
3535

articles/ai-services/language-service/language-detection/includes/quickstarts/java-sdk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ ms.custom: devx-track-java
88
ms.author: jboback
99
---
1010

11-
[Reference documentation](/java/api/overview/azure/ai-textanalytics-readme?preserve-view=true&view=azure-java-stable) | [Additional samples](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics/src/samples) | [Package (Maven)](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.2.0) | [Library source code](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics)
11+
[Reference documentation](/java/api/overview/azure/ai-textanalytics-readme?preserve-view=true&view=azure-java-stable) | [More samples](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics/src/samples) | [Package (Maven)](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.2.0) | [Library source code](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics)
1212

13-
Use this quickstart to create a language detection application with the client library for Java. In the following example, you will create a Java application that can identify the language a text sample was written in.
13+
Use this quickstart to create a language detection application with the client library for Java. In the following example, you create a Java application that can identify the language a text sample was written in.
1414

1515
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
1616

@@ -20,9 +20,9 @@ Use this quickstart to create a language detection application with the client l
2020
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
2121
* [Java Development Kit](https://www.oracle.com/technetwork/java/javase/downloads/index.html) (JDK) with version 8 or above
2222
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics" title="Create a Language resource" target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
23-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
23+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code below later in the quickstart.
2424
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
25-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
25+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
2626

2727

2828

articles/ai-services/language-service/language-detection/includes/quickstarts/nodejs-sdk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ms.author: jboback
88
ms.custom: devx-track-js
99
---
1010

11-
[Reference documentation](/javascript/api/overview/azure/ai-language-text-readme) | [Additional samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-text/samples/v1) | [Package (npm)](https://www.npmjs.com/package/@azure/ai-language-text) | [Library source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-text)
11+
[Reference documentation](/javascript/api/overview/azure/ai-language-text-readme) | [More samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-text/samples/v1) | [Package (npm)](https://www.npmjs.com/package/@azure/ai-language-text) | [Library source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cognitivelanguage/ai-language-text)
1212

1313

14-
Use this quickstart to create a language detection application with the client library for Node.js. In the following example, you will create a JavaScript application that can identify the language a text sample was written in.
14+
Use this quickstart to create a language detection application with the client library for Node.js. In the following example, you create a JavaScript application that can identify the language a text sample was written in.
1515

1616
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
1717

@@ -21,9 +21,9 @@ Use this quickstart to create a language detection application with the client l
2121
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
2222
* [Node.js](https://nodejs.org/) v14 LTS or later
2323
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics" title="Create a Language resource" target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
24-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
24+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code below later in the quickstart.
2525
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
26-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
26+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
2727

2828

2929

articles/ai-services/language-service/language-detection/includes/quickstarts/python-sdk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ ms.date: 03/29/2024
66
ms.author: jboback
77
---
88

9-
[Reference documentation](/python/api/azure-ai-textanalytics/azure.ai.textanalytics?preserve-view=true&view=azure-python) | [Additional samples](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/textanalytics/azure-ai-textanalytics/samples) | [Package (PyPi)](https://pypi.org/project/azure-ai-textanalytics/5.2.0/) | [Library source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/textanalytics/azure-ai-textanalytics)
9+
[Reference documentation](/python/api/azure-ai-textanalytics/azure.ai.textanalytics?preserve-view=true&view=azure-python) | [More samples](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/textanalytics/azure-ai-textanalytics/samples) | [Package (PyPi)](https://pypi.org/project/azure-ai-textanalytics/5.2.0/) | [Library source code](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/textanalytics/azure-ai-textanalytics)
1010

1111

12-
Use this quickstart to create a language detection application with the client library for Python. In the following example, you will create a Python application that can identify the language a text sample was written in.
12+
Use this quickstart to create a language detection application with the client library for Python. In the following example, you create a Python application that can identify the language a text sample was written in.
1313

1414
[!INCLUDE [Use Language Studio](../../../includes/use-language-studio.md)]
1515

@@ -19,9 +19,9 @@ Use this quickstart to create a language detection application with the client l
1919
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services)
2020
* [Python 3.8 or later](https://www.python.org/)
2121
* Once you have your Azure subscription, <a href="https://portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics" title="Create a Language resource" target="_blank">create a Language resource </a> in the Azure portal to get your key and endpoint. After it deploys, select **Go to resource**.
22-
* You will need the key and endpoint from the resource you create to connect your application to the API. You'll paste your key and endpoint into the code below later in the quickstart.
22+
* You need the key and endpoint from the resource you create to connect your application to the API. You paste your key and endpoint into the code below later in the quickstart.
2323
* You can use the free pricing tier (`Free F0`) to try the service, and upgrade later to a paid tier for production.
24-
* To use the Analyze feature, you will need a Language resource with the standard (S) pricing tier.
24+
* To use the Analyze feature, you need a Language resource with the standard (S) pricing tier.
2525

2626

2727

articles/ai-services/language-service/language-detection/includes/quickstarts/rest-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ curl -X POST $LANGUAGE_ENDPOINT/language/:analyze-text?api-version=2023-11-15-pr
111111
-d "@/home/mydir/test_detection_payload.json"
112112
```
113113

114+
---
115+
114116
## JSON response
115117

116118
```json

articles/ai-services/language-service/question-answering/how-to/azure-openai-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ At the same time, customers often require a custom answer authoring experience t
2020
## Prerequisites
2121

2222
* An existing Azure OpenAI resource. If you don't already have an Azure OpenAI resource, then [create one and deploy a model](../../../openai/how-to/create-resource.md).
23-
* An Azure Language Service resource and custom question qnswering project. If you don’t have one already, then [create one](../quickstart/sdk.md).
23+
* An Azure Language Service resource and custom question answering project. If you don’t have one already, then [create one](../quickstart/sdk.md).
2424
* Azure OpenAI requires registration and is currently only available to approved enterprise customers and partners. See [Limited access to Azure OpenAI Service](/legal/cognitive-services/openai/limited-access?context=/azure/ai-services/openai/context/context) for more information. You can apply for access to Azure OpenAI by completing the form at https://aka.ms/oai/access. Open an issue on this repo to contact us if you have an issue.
2525
* Be sure that you are assigned at least the [Cognitive Services OpenAI Contributor role](/azure/role-based-access-control/built-in-roles#cognitive-services-openai-contributor) for the Azure OpenAI resource.
2626

0 commit comments

Comments
 (0)