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
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.
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.
15
15
@@ -32,7 +32,7 @@ Use this quickstart to create a language detection application with the client l
32
32
33
33
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*.
34
34
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).
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/personally-identifiable-information/includes/quickstarts/csharp-sdk.md
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.
15
15
@@ -32,7 +32,7 @@ Use this quickstart to create a Personally Identifiable Information (PII) detect
32
32
33
33
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*.
34
34
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).
36
36
37
37
> [!div class="nextstepaction"]
38
38
> <ahref="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
59
59
// Example method for detecting sensitive information (PII) from text
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.
15
15
@@ -32,7 +32,7 @@ Use this quickstart to create a sentiment analysis application with the client l
32
32
33
33
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*.
34
34
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).
36
36
37
37
> [!div class="nextstepaction"]
38
38
> <ahref="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
140
140
```console
141
141
Document sentiment: Positive
142
142
143
-
Text: "I had the best day of my life."
143
+
Text: "I had the best day of my life."
144
144
Sentence sentiment: Positive
145
-
Positive score: 1.00
145
+
Positive score: 0.99
146
146
Negative score: 0.00
147
147
Neutral score: 0.00
148
148
149
149
Text: "I wish you were there with me."
150
150
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
154
154
155
155
Document sentiment: Positive
156
156
157
-
Positive score: 0.84
158
-
Negative score: 0.16
157
+
Positive score: 0.76
158
+
Negative score: 0.23
159
159
Neutral score: 0.00
160
160
161
161
Text: "The food and service were unacceptable, but the concierge were nice."
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.
15
15
@@ -32,7 +32,7 @@ Use this quickstart to create a Text Analytics for health application with the c
32
32
33
33
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*.
34
34
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).
36
36
37
37
> [!div class="nextstepaction"]
38
38
> <ahref="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
138
138
### Output
139
139
140
140
```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"
0 commit comments