Skip to content

Commit 52f3a6b

Browse files
authored
Merge pull request #204801 from aahill/qs-updates
updating nuget version
2 parents f33b1d1 + c309632 commit 52f3a6b

File tree

6 files changed

+33
-32
lines changed

6 files changed

+33
-32
lines changed

articles/cognitive-services/language-service/entity-linking/includes/quickstarts/csharp-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.author: aahi
1010
ms.custom: ignite-fall-2021
1111
---
1212

13-
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.0) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
13+
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.1) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
1414

1515
Use this quickstart to create an entity linking application with the client library for .NET. In the following example, you will create a C# application that can identify and disambiguate entities found in text.
1616

articles/cognitive-services/language-service/key-phrase-extraction/includes/quickstarts/nodejs-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const textAnalyticsClient = new TextAnalyticsClient(endpoint, new AzureKeyCreden
7575
async function keyPhraseExtraction(client){
7676

7777
const keyPhrasesInput = [
78-
"My cat might need to see a veterinarian.",
78+
"Dr. Smith has a very modern medical office, and she has great staff.",
7979
];
8080
const keyPhraseResult = await client.extractKeyPhrases(keyPhrasesInput);
8181

@@ -91,7 +91,7 @@ keyPhraseExtraction(textAnalyticsClient);
9191

9292
```console
9393
ID: 0
94-
Document Key Phrases: cat,veterinarian
94+
Document Key Phrases: modern medical office,Dr. Smith,great staff
9595
```
9696

9797
> [!div class="nextstepaction"]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: aahi
99
ms.custom: ignite-fall-2021
1010
---
1111

12-
[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.1.0) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
12+
[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.1.1) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
1313

1414
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.
1515

@@ -32,7 +32,7 @@ Use this quickstart to create a language detection application with the client l
3232

3333
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*.
3434

35-
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.1.0`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
35+
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.1.1`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
3636

3737

3838
> [!div class="nextstepaction"]

articles/cognitive-services/language-service/personally-identifiable-information/includes/quickstarts/csharp-sdk.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: aahi
99
ms.custom: language-service-pii, ignite-fall-2021
1010
---
1111

12-
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.0) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
12+
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.1) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
1313

1414
Use this quickstart to create a Personally Identifiable Information (PII) detection application with the client library for .NET. In the following example, you'll create a C# application that can identify [recognized sensitive information](../../concepts/entity-categories.md) in text.
1515

@@ -32,7 +32,7 @@ Use this quickstart to create a Personally Identifiable Information (PII) detect
3232

3333
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*.
3434

35-
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.1.0`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
35+
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.1.1`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
3636

3737
> [!div class="nextstepaction"]
3838
> <a href="https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=CSHARP&Pillar=Language&Product=Personally-identifying-info&Page=quickstart&Section=Set-up-the-environment" target="_target">I ran into an issue</a>
@@ -59,7 +59,7 @@ namespace Example
5959
// Example method for detecting sensitive information (PII) from text
6060
static void RecognizePIIExample(TextAnalyticsClient client)
6161
{
62-
string document = "A developer with SSN 859-98-0987 whose phone number is 800-102-1100 is building tools with our APIs.";
62+
string document = "Call our office at 312-555-1234, or send an email to [email protected].";
6363

6464
PiiEntityCollection entities = client.RecognizePiiEntities(document).Value;
6565

@@ -97,7 +97,8 @@ namespace Example
9797
## Output
9898

9999
```console
100+
Redacted Text: Call our office at ************, or send an email to *******************.
100101
Recognized 2 PII entities:
101-
Text: 859-98-0987, Category: U.S. Social Security Number (SSN), SubCategory: , Confidence score: 0.65
102-
Text: 800-102-1100, Category: Phone Number, SubCategory: , Confidence score: 0.8
102+
Text: 312-555-1234, Category: PhoneNumber, SubCategory: , Confidence score: 0.8
103+
Text: [email protected], Category: Email, SubCategory: , Confidence score: 0.8
103104
```

articles/cognitive-services/language-service/sentiment-opinion-mining/includes/quickstarts/csharp-sdk.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: aahi
99
ms.custom: ignite-fall-2021
1010
---
1111

12-
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.0) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
12+
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.1) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
1313

1414
Use this quickstart to create a sentiment analysis application with the client library for .NET. In the following example, you will create a C# application that can identify the sentiment(s) expressed in a text sample, and perform aspect-based sentiment analysis.
1515

@@ -32,7 +32,7 @@ Use this quickstart to create a sentiment analysis application with the client l
3232

3333
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*.
3434

35-
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.1.0`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
35+
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.1.1`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
3636

3737
> [!div class="nextstepaction"]
3838
> <a href="https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=CSHARP&Pillar=Language&Product=Sentiment-analysis&Page=quickstart&Section=Set-up-the-environment" target="_target">I ran into an issue</a>
@@ -140,42 +140,42 @@ namespace Example
140140
```console
141141
Document sentiment: Positive
142142

143-
Text: "I had the best day of my life."
143+
Text: "I had the best day of my life. "
144144
Sentence sentiment: Positive
145-
Positive score: 1.00
145+
Positive score: 0.99
146146
Negative score: 0.00
147147
Neutral score: 0.00
148148

149149
Text: "I wish you were there with me."
150150
Sentence sentiment: Neutral
151-
Positive score: 0.21
152-
Negative score: 0.02
153-
Neutral score: 0.77
151+
Positive score: 0.25
152+
Negative score: 0.03
153+
Neutral score: 0.72
154154

155155
Document sentiment: Positive
156156

157-
Positive score: 0.84
158-
Negative score: 0.16
157+
Positive score: 0.76
158+
Negative score: 0.23
159159
Neutral score: 0.00
160160

161161
Text: "The food and service were unacceptable, but the concierge were nice."
162162
Sentence sentiment: Positive
163-
Sentence positive score: 0.84
164-
Sentence negative score: 0.16
163+
Sentence positive score: 0.76
164+
Sentence negative score: 0.23
165165
Sentence neutral score: 0.00
166166

167167
Target: food, Value: Negative
168-
Target positive score: 0.01
169-
Target negative score: 0.99
168+
Target positive score: 0.00
169+
Target negative score: 1.00
170170
Related Assessment: unacceptable, Value: Negative
171-
Related Assessment positive score: 0.01
172-
Related Assessment negative score: 0.99
171+
Related Assessment positive score: 0.00
172+
Related Assessment negative score: 1.00
173173
Target: service, Value: Negative
174-
Target positive score: 0.01
175-
Target negative score: 0.99
174+
Target positive score: 0.00
175+
Target negative score: 1.00
176176
Related Assessment: unacceptable, Value: Negative
177-
Related Assessment positive score: 0.01
178-
Related Assessment negative score: 0.99
177+
Related Assessment positive score: 0.00
178+
Related Assessment negative score: 1.00
179179
Target: concierge, Value: Positive
180180
Target positive score: 1.00
181181
Target negative score: 0.00

articles/cognitive-services/language-service/text-analytics-for-health/includes/quickstarts/csharp-sdk.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.author: aahi
99
ms.custom: ignite-fall-2021
1010
---
1111

12-
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.0) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
12+
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [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.1.1) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics)
1313

1414
Use this quickstart to create a Text Analytics for health application with the client library for .NET. In the following example, you will create a C# application that can identify medical [entities](../../concepts/health-entity-categories.md), [relations](../../concepts/relation-extraction.md), and [assertions](../../concepts/assertion-detection.md) that appear in text.
1515

@@ -32,7 +32,7 @@ Use this quickstart to create a Text Analytics for health application with the c
3232

3333
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*.
3434

35-
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.1.0`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
35+
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.1.1`, and then **Install**. You can also use the [Package Manager Console](/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
3636

3737
> [!div class="nextstepaction"]
3838
> <a href="https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=CSHARP&Pillar=Language&Product=Text-analytics-for-health&Page=quickstart&Section=Set-up-the-environment" target="_target">I ran into an issue</a>
@@ -138,7 +138,7 @@ namespace Example
138138
### Output
139139

140140
```console
141-
Results of Azure Text Analytics for health async model, version: "2021-05-15"
141+
Results of Azure Text Analytics for health async model, version: "2022-03-01"
142142

143143
Entity: 100mg
144144
Category: Dosage

0 commit comments

Comments
 (0)