Skip to content

Commit 1d71f08

Browse files
committed
minor updates
1 parent e184a83 commit 1d71f08

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

articles/cognitive-services/text-analytics/migration-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ ms.author: aahi
1616

1717
[!INCLUDE [v3 region availability](includes/v3-region-availability.md)]
1818

19-
If you're using version 2.1 of the Text Analytics API, this article will help you upgrade your application to use version 3.x. Version 3.0 is generally available and introduces new features such as [model versioning](concepts/model-versioning.md) and expanded [Named Entity Recognition (NER)](how-tos/text-analytics-how-to-entity-linking.md#named-entity-recognition-versions-and-features). A preview version of v3.1 (v3.1-preview.x) is also available, which adds features such as [opinion mining](how-tos/text-analytics-how-to-sentiment-analysis.md#sentiment-analysis-versions-and-features).
19+
If you're using version 2.1 of the Text Analytics API, this article will help you upgrade your application to use version 3.x. Version 3.0 is generally available and introduces new features such as expanded [Named Entity Recognition (NER)](how-tos/text-analytics-how-to-entity-linking.md#named-entity-recognition-versions-and-features) and [model versioning](concepts/model-versioning.md). A preview version of v3.1 (v3.1-preview.x) is also available, which adds features such as [opinion mining](how-tos/text-analytics-how-to-sentiment-analysis.md#sentiment-analysis-versions-and-features). The models used in v2 will not receive future updates.
2020

2121
#### [Sentiment analysis](#tab/sentiment-analysis)
2222

2323
## Feature changes
2424

25-
Sentiment Analysis in version 2.1 returns sentiment scores between 0 and 1, with scores closer to 1 indicating more positive sentiment. Version 3 instead returns sentiment labels (such as "positive" or "negative") with their associated confidence scores.
25+
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. Version 3 instead returns sentiment labels (such as "positive" or "negative") for both the sentences and the document as a whole, and their associated confidence scores.
2626

2727
## Steps to migrate
2828

@@ -66,7 +66,7 @@ You will also need to update your application to use the [entity categories](nam
6666

6767
## Feature changes
6868

69-
The language detection feature has not changed in v3 outside of the endpoint version, but the JSON response will contain `ConfidenceScore` instead of `score`.
69+
The language detection feature has not changed in v3 outside of the endpoint version, but the JSON response will contain `ConfidenceScore` instead of `score`. V3 also only returns a single language in the output.
7070

7171
## Steps to migrate
7272

articles/cognitive-services/text-analytics/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
href: how-tos/text-analytics-how-to-use-container-instances.md
8181
- name: Use kubernetes service (AKS)
8282
href: how-tos/text-analytics-how-to-use-kubernetes-service.md
83+
- name: Migrate to version 3 of the API
84+
href: migration-guide.md
8385
- name: Reference
8486
items:
8587
- name: CLI reference
@@ -118,8 +120,6 @@
118120
href: https://godoc.org/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.1/textanalytics
119121
- name: Resources
120122
items:
121-
- name: Migrate to version 3 of the API
122-
href: migration-guide.md
123123
- name: External and community content
124124
href: text-analytics-resource-external-community.md
125125
- name: FAQ

0 commit comments

Comments
 (0)