Skip to content

Commit eab9e64

Browse files
committed
updating tabs, note
1 parent 54e3bb3 commit eab9e64

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

articles/cognitive-services/text-analytics/includes/quickstarts/java-sdk.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ ms.reviewer: tasharm, assafi
1515

1616
[Reference documentation](https://aka.ms/azsdk-java-textanalytics-ref-docs) | [Library source code](https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/textanalytics/azure-ai-textanalytics) | [Package (Maven)](https://oss.sonatype.org/#nexus-search;quick~com.azure) | [Samples](https://github.com/Azure/azure-sdk-for-java/tree/master/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics)
1717

18-
> [!NOTE]
19-
> * This quickstart is only for version `3.0-preview` of the Text Analytics client library, which includes a public preview for improved [Sentiment Analysis](../../how-tos/text-analytics-how-to-sentiment-analysis.md#sentiment-analysis-versions-and-features) and [Named Entity Recognition (NER)](../../how-tos/text-analytics-how-to-entity-linking.md#named-entity-recognition-versions-and-features).
20-
> * The code in this article uses synchronous methods and un-secured credentials storage for simplicity reasons. For production scenarios, we recommend using the batched asynchronous methods for performance and scalability. For example, calling `SentimentBatchAsync()` instead of `Sentiment()`.
21-
2218
## Prerequisites
2319

2420
* Azure subscription - [Create one for free](https://azure.microsoft.com/free/)

articles/cognitive-services/text-analytics/includes/quickstarts/nodejs-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ Document ID: 0
389389
Offset: 89, Length: 5 Score: 0.052
390390
```
391391

392-
#### [Version 2](#tab/version-2)
392+
#### [Version 2.1](#tab/version-2)
393393

394394
> [!NOTE]
395395
> In version 2.1, entity linking is included in the NER response.

articles/cognitive-services/text-analytics/includes/quickstarts/python-sdk.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: aahi
1212

1313
[v3 Reference documentation](https://azuresdkdocs.blob.core.windows.net/$web/python/azure-ai-textanalytics/1.0.0b1/azure.ai.textanalytics.html) | [v3 Library source code](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/textanalytics) | [v3 Package (PiPy)](https://pypi.org/project/azure-ai-textanalytics/) | [v3 Samples](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/textanalytics/azure-ai-textanalytics/samples)
1414

15-
#### [Version 2](#tab/version-2)
15+
#### [Version 2.1](#tab/version-2)
1616

1717
[v2 Reference documentation](https://docs.microsoft.com/python/api/overview/azure/cognitiveservices/textanalytics?view=azure-python) | [v2 Library source code](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/cognitiveservices/azure-cognitiveservices-language-textanalytics) | [v2 Package (PiPy)](https://pypi.org/project/azure-cognitiveservices-language-textanalytics/) | [v2 Samples](https://github.com/Azure-Samples/cognitive-services-python-sdk-samples)
1818

@@ -37,7 +37,7 @@ After installing Python, you can install the client library with:
3737
pip install azure-ai-textanalytics
3838
```
3939

40-
#### [Version 2](#tab/version-2)
40+
#### [Version 2.1](#tab/version-2)
4141

4242
```console
4343
pip install --upgrade azure-cognitiveservices-language-textanalytics
@@ -67,7 +67,7 @@ When batch processing text is sent to the API as a list of `documents`, which ar
6767

6868
The response object is a list containing the analysis information for each document.
6969

70-
#### [Version 2](#tab/version-2)
70+
#### [Version 2.1](#tab/version-2)
7171

7272
The Text Analytics client is a [TextAnalyticsClient](https://docs.microsoft.com/python/api/azure-cognitiveservices-language-textanalytics/azure.cognitiveservices.language.textanalytics.textanalyticsclient?view=azure-python) object that authenticates to Azure using your key. The client provides several methods for analyzing text, as a single string, or a batch.
7373

@@ -140,7 +140,7 @@ neutral=0.771
140140
negative=0.017
141141
```
142142

143-
#### [Version 2](#tab/version-2)
143+
#### [Version 2.1](#tab/version-2)
144144

145145
Authenticate a client object, and call the [sentiment()](https://docs.microsoft.com/python/api/azure-cognitiveservices-language-textanalytics/azure.cognitiveservices.language.textanalytics.textanalyticsclient?view=azure-python#sentiment-show-stats-none--documents-none--custom-headers-none--raw-false----operation-config-) function. Iterate through the results, and print each document's ID, and sentiment score. A score closer to 0 indicates a negative sentiment, while a score closer to 1 indicates a positive sentiment.
146146

@@ -187,7 +187,7 @@ language_detection_example(endpoint, key)
187187
Language: French
188188
```
189189

190-
#### [Version 2](#tab/version-2)
190+
#### [Version 2.1](#tab/version-2)
191191

192192
Using the client created earlier, call [detect_language()](https://docs.microsoft.com/python/api/azure-cognitiveservices-language-textanalytics/azure.cognitiveservices.language.textanalytics.textanalyticsclient?view=azure-python#detect-language-show-stats-none--documents-none--custom-headers-none--raw-false----operation-config-) and get the result. Then iterate through the results, and print each document's ID, and the first returned language.
193193

@@ -358,7 +358,7 @@ Linked Entities:
358358
Score: 0.281 Offset: 89 Length: 5
359359
```
360360

361-
#### [Version 2](#tab/version-2)
361+
#### [Version 2.1](#tab/version-2)
362362

363363
> [!NOTE]
364364
> In version 2.1, entity linking is included in the NER response.
@@ -447,7 +447,7 @@ key_phrase_extraction_example(endpoint, key)
447447
veterinarian
448448
```
449449

450-
#### [Version 2](#tab/version-2)
450+
#### [Version 2.1](#tab/version-2)
451451

452452
Using the client created earlier, call the [key_phrases()](https://docs.microsoft.com/python/api/azure-cognitiveservices-language-textanalytics/azure.cognitiveservices.language.textanalytics.textanalyticsclient?view=azure-python#key-phrases-show-stats-none--documents-none--custom-headers-none--raw-false----operation-config-) function and get the result. Then iterate through the results, and print each document's ID, and the key phrases contained in it.
453453

articles/cognitive-services/text-analytics/quickstarts/text-analytics-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Use the Text Analytics client library to perform:
4949
::: zone pivot="programming-language-java"
5050

5151
> [!IMPORTANT]
52-
> * The latest preview version of the Text Analytics API is `3.0-preview`, which includes a public preview for improved [Sentiment Analysis](../how-tos/text-analytics-how-to-sentiment-analysis.md#sentiment-analysis-versions-and-features) and [Named Entity Recognition (NER)](../how-tos/text-analytics-how-to-entity-linking.md#named-entity-recognition-versions-and-features). The latest stable version is `2.1`.
52+
> * This quickstart is only for version `3.0-preview` of the Text Analytics client library, which includes a public preview for improved [Sentiment Analysis](../../how-tos/text-analytics-how-to-sentiment-analysis.md#sentiment-analysis-versions-and-features) and [Named Entity Recognition (NER)](../../how-tos/text-analytics-how-to-entity-linking.md#named-entity-recognition-versions-and-features).
5353
> * Be sure to only follow the instructions for the version you are using.
5454
> * The code in this article uses synchronous methods and un-secured credentials storage for simplicity reasons. For production scenarios, we recommend using the batched asynchronous methods for performance and scalability. See the reference documentation below.
5555

0 commit comments

Comments
 (0)