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: articles/cognitive-services/language-service/concepts/migrate-from-text-analytics-v2.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,13 +21,13 @@ If your applications are using version 2.1 of the Text Analytics API, this artic
21
21
> [!TIP]
22
22
> Want to use the latest version of the API in your application? See the [sentiment analysis](../sentiment-opinion-mining/how-to/call-api.md) how-to article and [quickstart](../sentiment-opinion-mining/quickstart.md) for information on the current version of the API.
23
23
24
-
###Feature changes
24
+
## Feature changes
25
25
26
26
Sentiment Analysis in version 2.1 returns sentiment scores between 0 and 1 for each document sent to the API, with scores closer to 1 indicating more positive sentiment. The current version of this feature returns sentiment labels (such as "positive" or "negative") for both the sentences and the document as a whole, and their associated confidence scores.
27
27
28
-
###Steps to migrate
28
+
## Steps to migrate
29
29
30
-
####REST API
30
+
### REST API
31
31
32
32
If your application uses the REST API, update its request endpoint to use the [current endpoint](../sentiment-opinion-mining/quickstart.md?pivots=rest-api) for sentiment analysis. For example:`https://<your-custom-subdomain>.cognitiveservices.azure.com/text/analytics/v3.1/sentiment`. You will also need to update the application to use the sentiment labels returned in the [API's response](../sentiment-opinion-mining/how-to/call-api.md).
33
33
@@ -36,7 +36,7 @@ See the reference documentation for examples of the JSON response.
To use the latest version of the sentiment analysis client library, you will need to download the latest software package in the `Azure.AI.TextAnalytics` namespace. The [quickstart article](../sentiment-opinion-mining/quickstart.md) lists the commands you can use for your preferred language, with example code.
42
42
@@ -51,13 +51,13 @@ To use the latest version of the sentiment analysis client library, you will nee
51
51
> *[Quickstart](../entity-linking/quickstart.md)
52
52
> *[how to call the API](../entity-linking/how-to/call-api.md)
53
53
54
-
###Feature changes
54
+
## Feature changes
55
55
56
56
In version 2.1, the Text Analytics API uses one endpoint for Named Entity Recognition (NER) and entity linking. The current version of this feature provides expanded named entity detection, and uses separate endpoints for NER and entity linking requests. Additionally, you can use another feature offered in the Language service that lets you detect [detect personal (pii) and health (phi) information](../personally-identifiable-information/overview.md).
57
57
58
-
###Steps to migrate
58
+
## Steps to migrate
59
59
60
-
####REST API
60
+
### REST API
61
61
62
62
If your application uses the REST API, update its request endpoint to the [current endpoints](../named-entity-recognition/quickstart.md?pivots=rest-api) for NER and/or entity linking. For example:
63
63
@@ -74,7 +74,7 @@ See the reference documentation for examples of the JSON response.
To use the latest version of the NER and entity linking client libraries, you will need to download the latest software package in the `Azure.AI.TextAnalytics` namespace. The quickstart article for [Named Entity Recognition](../named-entity-recognition/quickstart.md) and [entity linking](../entity-linking/quickstart.md) lists the commands you can use for your preferred language, with example code.
80
80
@@ -112,13 +112,13 @@ The following table lists the entity categories returned for NER v2.1.
112
112
> [!TIP]
113
113
> Want to use the latest version of the API in your application? See the [language detection](../language-detection/how-to/call-api.md) how-to article and [quickstart](../language-detection/quickstart.md) for information on the current version of the API.
114
114
115
-
###Feature changes
115
+
## Feature changes
116
116
117
117
The language detection feature output has changed in the current version. The JSON response will contain `ConfidenceScore` instead of `score`. The current version also only returns one language in a `detectedLanguage` attribute for each document.
118
118
119
-
###Steps to migrate
119
+
## Steps to migrate
120
120
121
-
####REST API
121
+
### REST API
122
122
123
123
If your application uses the REST API, update its request endpoint to the [current endpoint](../language-detection/quickstart.md?pivots=rest-api) for language detection. For example:`https://<your-custom-subdomain>.cognitiveservices.azure.com/text/analytics/v3.1/languages`. You will also need to update the application to use `ConfidenceScore` instead of `score` in the [API's response](../language-detection/how-to/call-api.md).
124
124
@@ -136,13 +136,13 @@ To use the latest version of the sentiment analysis client library, you will nee
136
136
> [!TIP]
137
137
> Want to use the latest version of the API in your application? See the [key phrase extraction](../key-phrase-extraction/how-to/call-api.md) how-to article and [quickstart](../key-phrase-extraction/quickstart.md) for information on the current version of the API.
138
138
139
-
###Feature changes
139
+
## Feature changes
140
140
141
141
The key phrase extraction feature currently has not changed outside of the endpoint version.
142
142
143
-
###Steps to migrate
143
+
## Steps to migrate
144
144
145
-
####REST API
145
+
### REST API
146
146
147
147
If your application uses the REST API, update its request endpoint to the [current endpoint](../key-phrase-extraction/quickstart.md?pivots=rest-api) for key phrase extraction. For example: `https://<your-custom-subdomain>.api.cognitiveservices.azure.com/text/analytics/v3.1/keyPhrases`
148
148
@@ -151,7 +151,7 @@ See the reference documentation for examples of the JSON response.
To use the latest version of the sentiment analysis client library, you will need to download the latest software package in the `Azure.AI.TextAnalytics` namespace. The [quickstart article](../key-phrase-extraction/quickstart.md) lists the commands you can use for your preferred language, with example code.
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/concepts/migrate.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ On November 2nd 2021, Azure Cognitive Service for Language was released into pub
17
17
18
18
## Do I need to migrate to the language service if I am using Text Analytics?
19
19
20
-
Text Analytics has been incorporated into the language service, and its features are still available. If you were using Text Analytics, your applications should continue to work without breaking changes. you can also see the [Text Analytics v2 migration guide](migrate-from-text-analytics-v2.md), if you need to update an older application.
20
+
Text Analytics has been incorporated into the language service, and its features are still available. If you were using Text Analytics, your applications should continue to work without breaking changes. You can also see the [Text Analytics v2 migration guide](migrate-from-text-analytics-v2.md), if you need to update an older application.
21
21
22
22
Consider using one of the available quickstart articles to see the latest information on service endpoints, and API calls.
0 commit comments