Skip to content

Commit 6f8a7fd

Browse files
authored
Merge pull request #203517 from aahill/july-qs-update
july quickstart updates
2 parents 48e4e3b + faf0799 commit 6f8a7fd

File tree

9 files changed

+29
-25
lines changed

9 files changed

+29
-25
lines changed

articles/cognitive-services/language-service/entity-linking/includes/quickstarts/csharp-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ms.custom: ignite-fall-2021
3131

3232
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*.
3333

34-
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).
34+
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).
3535

3636
> [!div class="nextstepaction"]
3737
> <a href="https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=CSHARP&Pillar=Language&Product=Entity-linking&Page=quickstart&Section=Set-up-the-environment" target="_target">I ran into an issue</a>

articles/cognitive-services/language-service/entity-linking/includes/quickstarts/java-sdk.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ manager: nitinme
66
ms.service: cognitive-services
77
ms.subservice: language-service
88
ms.topic: include
9-
ms.date: 06/13/2022
9+
ms.date: 06/30/2022
1010
ms.custom: devx-track-java, ignite-fall-2021
1111
ms.author: aahi
1212
---
1313

14-
[Reference documentation](/java/api/overview/azure/ai-textanalytics-readme?preserve-view=true&view=azure-java-stable) | [Library source code](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics) | [Package](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.1.9) | [Samples](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics/src/samples)
14+
[Reference documentation](/java/api/overview/azure/ai-textanalytics-readme?preserve-view=true&view=azure-java-stable) | [Library source code](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics) | [Package](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.1.10) | [Samples](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics/src/samples)
1515

1616
## Prerequisites
1717

@@ -36,7 +36,7 @@ Create a Maven project in your preferred IDE or development environment. Then ad
3636
<dependency>
3737
<groupId>com.azure</groupId>
3838
<artifactId>azure-ai-textanalytics</artifactId>
39-
<version>5.1.9</version>
39+
<version>5.1.10</version>
4040
</dependency>
4141
</dependencies>
4242
```
@@ -131,4 +131,5 @@ Text: BASIC, Score: 0.33, Offset: 89, Length: 5
131131
Name: Altair 8800, ID: Altair 8800, URL: https://en.wikipedia.org/wiki/Altair_8800, Data Source: Wikipedia.
132132
Matches:
133133
Text: Altair 8800, Score: 0.88, Offset: 116, Length: 11
134+
134135
```

articles/cognitive-services/language-service/entity-linking/includes/quickstarts/nodejs-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: nitinme
66
ms.service: cognitive-services
77
ms.subservice: language-service
88
ms.topic: include
9-
ms.date: 06/13/2022
9+
ms.date: 06/30/2022
1010
ms.author: aahi
1111
ms.custom: devx-track-js, ignite-fall-2021
1212
---

articles/cognitive-services/language-service/entity-linking/includes/quickstarts/python-sdk.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ author: aahill
33
ms.service: cognitive-services
44
ms.subservice: language-service
55
ms.topic: include
6-
ms.date: 06/13/2022
6+
ms.date: 06/30/2022
77
ms.author: aahi
88
ms.custom: ignite-fall-2021
99
---

articles/cognitive-services/language-service/entity-linking/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: quickstart
11-
ms.date: 06/21/2022
11+
ms.date: 06/30/2022
1212
ms.author: aahi
1313
ms.devlang: csharp, java, javascript, python
1414
ms.custom: language-service-entity-linking, ignite-fall-2021, mode-api

articles/cognitive-services/language-service/key-phrase-extraction/includes/quickstarts/csharp-sdk.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ manager: nitinme
44
ms.service: cognitive-services
55
ms.subservice: language-service
66
ms.topic: include
7-
ms.date: 06/07/2022
7+
ms.date: 06/30/2022
88
ms.author: aahi
99
ms.custom: ignite-fall-2021
1010
---
1111

12-
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics) | [Package (NuGet)](https://www.nuget.org/packages/Azure.AI.TextAnalytics/5.1.0) | [Additional samples](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics/samples)
12+
[Reference documentation](/dotnet/api/azure.ai.textanalytics?preserve-view=true&view=azure-dotnet) | [Library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics) | [Package (NuGet)](https://www.nuget.org/packages/Azure.AI.TextAnalytics/5.1.1) | [Additional samples](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics/samples)
1313

1414

1515
## Prerequisites
@@ -30,7 +30,7 @@ ms.custom: ignite-fall-2021
3030

3131
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*.
3232

33-
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).
33+
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).
3434

3535
> [!div class="nextstepaction"]
3636
> <a href="https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=CSHARP&Pillar=Language&Product=Key-phrase-extraction&Page=quickstart&Section=Set-up-the-environment" target="_target">I ran into an issue</a>
@@ -57,7 +57,7 @@ namespace KeyPhraseExtractionExample
5757
// Example method for extracting key phrases from text
5858
static void KeyPhraseExtractionExample(TextAnalyticsClient client)
5959
{
60-
var response = client.ExtractKeyPhrases("My cat might need to see a veterinarian.");
60+
var response = client.ExtractKeyPhrases(@"Dr. Smith has a very modern medical office, and she has great staff.");
6161

6262
// Printing key phrases
6363
Console.WriteLine("Key phrases:");
@@ -89,6 +89,7 @@ namespace KeyPhraseExtractionExample
8989

9090
```console
9191
Key phrases:
92-
cat
93-
veterinarian
92+
modern medical office
93+
Dr. Smith
94+
great staff
9495
```

articles/cognitive-services/language-service/key-phrase-extraction/includes/quickstarts/java-sdk.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ manager: nitinme
44
ms.service: cognitive-services
55
ms.subservice: language-service
66
ms.topic: include
7-
ms.date: 06/13/2022
7+
ms.date: 06/30/2022
88
ms.custom: devx-track-java, ignite-fall-2021
99
ms.author: aahi
1010
---
1111

12-
[Reference documentation](/java/api/overview/azure/ai-textanalytics-readme?preserve-view=true&view=azure-java-stable) | [Library source code](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics) | [Package](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.1.9) | [Samples](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics/src/samples)
12+
[Reference documentation](/java/api/overview/azure/ai-textanalytics-readme?preserve-view=true&view=azure-java-stable) | [Library source code](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics) | [Package](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.1.10) | [Samples](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/textanalytics/azure-ai-textanalytics/src/samples)
1313

1414
## Prerequisites
1515

@@ -27,14 +27,14 @@ ms.author: aahi
2727

2828
### Add the client library
2929

30-
Create a Maven project in your preferred IDE or development environment. Then add the following dependency to your project's *pom.xml* file. You can find the implementation syntax [for other build tools](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.1.9) online.
30+
Create a Maven project in your preferred IDE or development environment. Then add the following dependency to your project's *pom.xml* file. You can find the implementation syntax [for other build tools](https://mvnrepository.com/artifact/com.azure/azure-ai-textanalytics/5.1.10) online.
3131

3232
```xml
3333
<dependencies>
3434
<dependency>
3535
<groupId>com.azure</groupId>
3636
<artifactId>azure-ai-textanalytics</artifactId>
37-
<version>5.1.9</version>
37+
<version>5.1.10</version>
3838
</dependency>
3939
</dependencies>
4040
```
@@ -76,7 +76,7 @@ public class Example {
7676
static void extractKeyPhrasesExample(TextAnalyticsClient client)
7777
{
7878
// The text to be analyzed
79-
String text = "My cat might need to see a veterinarian.";
79+
String text = "Dr. Smith has a very modern medical office, and she has great staff.";
8080

8181
System.out.printf("Recognized phrases: %n");
8282
for (String keyPhrase : client.extractKeyPhrases(text)) {
@@ -96,6 +96,7 @@ public class Example {
9696
```console
9797
Recognized phrases:
9898

99-
cat
100-
veterinarian
99+
modern medical office
100+
Dr. Smith
101+
great staff
101102
```

articles/cognitive-services/language-service/key-phrase-extraction/includes/quickstarts/python-sdk.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ client = authenticate_client()
6262
def key_phrase_extraction_example(client):
6363

6464
try:
65-
documents = ["My cat might need to see a veterinarian."]
65+
documents = ["Dr. Smith has a very modern medical office, and she has great staff."]
6666

6767
response = client.extract_key_phrases(documents = documents)[0]
6868

@@ -86,6 +86,7 @@ key_phrase_extraction_example(client)
8686

8787
```console
8888
Key Phrases:
89-
cat
90-
veterinarian
89+
modern medical office
90+
Dr. Smith
91+
great staff
9192
```

articles/cognitive-services/language-service/key-phrase-extraction/includes/quickstarts/rest-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ curl -i -X POST https://<your-language-resource-endpoint>/language/:analyze-text
6161
{
6262
"id":"1",
6363
"language":"en",
64-
"text": "I had a wonderful trip to Seattle last week."
64+
"text": "Dr. Smith has a very modern medical office, and she has great staff."
6565
}
6666
]
6767
}
@@ -80,7 +80,7 @@ curl -i -X POST https://<your-language-resource-endpoint>/language/:analyze-text
8080
"results": {
8181
"documents": [{
8282
"id": "1",
83-
"keyPhrases": ["wonderful trip", "Seattle"],
83+
"keyPhrases": ["modern medical office", "Dr. Smith", "great staff"],
8484
"warnings": []
8585
}],
8686
"errors": [],

0 commit comments

Comments
 (0)