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: sdk/textanalytics/Azure.AI.TextAnalytics/README.md
+21-43Lines changed: 21 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,19 @@
1
1
# Azure Cognitive Services Text Analytics client library for .NET
2
+
2
3
Text Analytics is part of the Azure Cognitive Service for Language, a cloud-based service that provides Natural Language Processing (NLP) features for understanding and analyzing text. This client library offers the following features:
3
4
4
-
* Language detection
5
-
* Sentiment analysis
6
-
* Key phrase extraction
7
-
* Named entity recognition (NER)
8
-
* Personally identifiable information (PII) entity recognition
9
-
* Entity linking
10
-
* Text analytics for health
11
-
* Custom named entity recognition (Custom NER)
12
-
* Custom text classification
13
-
* Dynamic text classification
14
-
* Extractive text summarization
15
-
* Abstractive text summarization
5
+
* Language detection
6
+
* Sentiment analysis
7
+
* Key phrase extraction
8
+
* Named entity recognition (NER)
9
+
* Personally identifiable information (PII) entity recognition
@@ -43,36 +44,11 @@ This table shows the relationship between SDK versions and supported API version
43
44
* An [Azure subscription][azure_sub].
44
45
* An existing Cognitive Services or Language service resource.
45
46
46
-
#### Create a Cognitive Services or Language service resource
47
-
48
-
The Language service supports both [multi-service and single-service access][cognitive_resource_portal]. Create a Cognitive Services resource if you plan to access multiple cognitive services under a single endpoint/key. For Language service access only, create a Language service resource.
Below is an example of how you can create a Language service resource using the CLI:
47
+
#### Create a Cognitive Services resource or a Language service resource
57
48
58
-
```PowerShell
59
-
# Create a new resource group to hold the Language service resource -
60
-
# if using an existing resource group, skip this step
61
-
az group create --name <your-resource-name> --location <location>
62
-
```
63
-
64
-
```PowerShell
65
-
# Create Text Analytics
66
-
az cognitiveservices account create \
67
-
--name <your-resource-name> \
68
-
--resource-group <your-resource-group-name> \
69
-
--kind TextAnalytics \
70
-
--sku <sku> \
71
-
--location <location> \
72
-
--yes
73
-
```
49
+
Azure Cognitive Service for Language supports both [multi-service and single-service access][service_access]. Create a Cognitive Services resource if you plan to access multiple cognitive services under a single endpoint and API key. To access the features of the Language service only, create a Language service resource instead.
74
50
75
-
For more information about creating the resource or how to get the location and sku information see [here][cognitive_resource_cli].
51
+
You can create either resource via the [Azure portal][create_ta_resource_azure_portal] or, alternatively, you can follow the steps in [this document][create_ta_resource_azure_cli] to create it using the [Azure CLI][azure_cli].
76
52
77
53
### Authenticate the client
78
54
@@ -157,6 +133,7 @@ For long running operations in the Azure SDK, the client exposes a `Start<operat
157
133
We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads.
[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) |
@@ -168,7 +145,7 @@ We guarantee that all client instance methods are thread-safe and independent of
168
145
169
146
## Examples
170
147
171
-
The following section provides several code snippets using the `client`[created above](#create-textanalyticsclient-with-azure-active-directory-credential), and covers the main features present in this client library. Although most of the snippets below make use of synchronous service calls, keep in mind that the `Azure.AI.TextAnalytics` package supports both synchronous and asynchronous APIs.
148
+
The following section provides several code snippets using the `client`[created above](#create-a-textanalyticsclient-using-an-api-key-credential), and covers the main features present in this client library. Although most of the snippets below make use of synchronous service calls, keep in mind that the `Azure.AI.TextAnalytics` package supports both synchronous and asynchronous APIs.
172
149
173
150
### Sync examples
174
151
@@ -802,8 +779,6 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
0 commit comments