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/text-analytics/includes/find-azure-resource-info.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
@@ -12,6 +12,6 @@ ms.author: aahi
12
12
---
13
13
14
14
> [!IMPORTANT]
15
-
> Go to the Azure portal and find the key and endpoint for the Text Analytics resource you created in the prerequisites. They will be located on the resource's **Quick start** page, under **resource management**. Then replace the strings in the code below with your key and endpoint.
15
+
> Go to the Azure portal and find the key and endpoint for the Text Analytics resource you created in the prerequisites. They will be located on the resource's **key and endpoint** page, under **resource management**. Then replace the strings in the code below with your key and endpoint.
16
16
>
17
17
> Remember to remove the key from your code when you're done, and never post it publicly. For production, consider using a secure way of storing and accessing your credentials. For example, [Azure key vault](https://docs.microsoft.com/azure/key-vault/key-vault-overview).
* Once you have your Azure subscription, <ahref="https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Text Analytics resource"target="_blank">create a Text Analytics resource <spanclass="docon docon-navigate-external x-hidden-focus"></span></a> in the Azure portal to get your key and endpoint.
31
+
* You will need the key and endpoint from the resource you create to connect your application to the Text Analytics API. You'll do this later in the quickstart.
32
+
* You can use the free pricing tier to try the service, and upgrade later to a paid tier for production.
32
33
33
34
## Setting up
34
35
@@ -40,6 +41,20 @@ Using the Visual Studio IDE, create a new .NET Core console app. This will creat
40
41
41
42
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**, check **Include prerelease**, and search for `Azure.AI.TextAnalytics`. Select version `1.0.0-preview.2`, and then **Install**. You can also use the [Package Manager Console](https://docs.microsoft.com/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
42
43
44
+
> [!TIP]
45
+
> Want to view the whole quickstart code file at once? You can find it [on GitHub](https://github.com/Azure-Samples/cognitive-services-quickstart-code/blob/master/dotnet/TextAnalytics/program.cs), which contains the code examples in this quickstart.
46
+
47
+
#### [Version 2.1](#tab/version-2)
48
+
49
+
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 `Microsoft.Azure.CognitiveServices.Language.TextAnalytics`. Click on it, and then **Install**. You can also use the [Package Manager Console](https://docs.microsoft.com/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
50
+
51
+
> [!TIP]
52
+
> Want to view the whole quickstart code file at once? You can find it [on GitHub](https://github.com/Azure-Samples/cognitive-services-dotnet-sdk-samples/blob/master/samples/TextAnalytics/synchronous/Program.cs), which contains the code examples in this quickstart.
53
+
54
+
---
55
+
56
+
#### [Version 3.0-preview](#tab/version-3)
57
+
43
58
Open the *program.cs* file and add the following `using` directives:
44
59
45
60
```csharp
@@ -78,8 +93,6 @@ static void Main(string[] args)
78
93
79
94
#### [Version 2.1](#tab/version-2)
80
95
81
-
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 `Microsoft.Azure.CognitiveServices.Language.TextAnalytics`. Click on it, and then **Install**. You can also use the [Package Manager Console](https://docs.microsoft.com/nuget/consume-packages/install-use-packages-powershell#find-and-install-a-package).
82
-
83
96
Open the *program.cs* file and add the following `using` directives:
* Once you have your Azure subscription, <ahref="https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Text Analytics resource"target="_blank">create a Text Analytics resource <spanclass="docon docon-navigate-external x-hidden-focus"></span></a> in the Azure portal to get your key and endpoint.
23
+
* You will need the key and endpoint from the resource you create to connect your application to the Text Analytics API. You'll do this later in the quickstart.
24
+
* You can use the free pricing tier to try the service, and upgrade later to a paid tier for production.
* Once you have your Azure subscription, <ahref="https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Text Analytics resource"target="_blank">create a Text Analytics resource <spanclass="docon docon-navigate-external x-hidden-focus"></span></a> in the Azure portal to get your key and endpoint.
32
+
* You will need the key and endpoint from the resource you create to connect your application to the Text Analytics API. You'll do this later in the quickstart.
33
+
* You can use the free pricing tier to try the service, and upgrade later to a paid tier for production.
* Once you have your Azure subscription, <ahref="https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Text Analytics resource"target="_blank">create a Text Analytics resource <spanclass="docon docon-navigate-external x-hidden-focus"></span></a> in the Azure portal to get your key and endpoint.
26
+
* You will need the key and endpoint from the resource you create to connect your application to the Text Analytics API. You'll do this later in the quickstart.
27
+
* You can use the free pricing tier to try the service, and upgrade later to a paid tier for production.
Copy file name to clipboardExpand all lines: articles/cognitive-services/text-analytics/quickstarts/go-sdk.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: text-analytics
10
10
ms.topic: quickstart
11
-
ms.date: 01/29/2020
11
+
ms.date: 02/26/2020
12
12
ms.author: aahi
13
13
---
14
14
@@ -23,13 +23,12 @@ ms.author: aahi
23
23
24
24
* An Azure subscription - [create one for free](https://azure.microsoft.com/free/)
25
25
* The latest version of [Go](https://golang.org/dl/)
26
+
* Once you have your Azure subscription, <ahref="https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Text Analytics resource"target="_blank">create a Text Analytics resource <spanclass="docon docon-navigate-external x-hidden-focus"></span></a> in the Azure portal to get your key and endpoint.
27
+
* You will need the key and endpoint from the resource you create to connect your application to the Text Analytics API. You'll do this later in the quickstart.
28
+
* You can use the free pricing tier to try the service, and upgrade later to a paid tier for production.
In a console window (cmd, PowerShell, Terminal, Bash), create a new workspace for your Go project and navigate to it. Your workspace will contain three folders:
Copy file name to clipboardExpand all lines: articles/cognitive-services/text-analytics/quickstarts/ruby-sdk.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: text-analytics
10
10
ms.topic: quickstart
11
-
ms.date: 01/29/2020
11
+
ms.date: 02/26/2020
12
12
ms.author: aahi
13
13
---
14
14
@@ -34,13 +34,12 @@ Use the Text Analytics client library to perform:
34
34
35
35
* An Azure subscription - [create one for free](https://azure.microsoft.com/free/)
36
36
* The current version of [Ruby](https://www.ruby-lang.org/)
37
+
* Once you have your Azure subscription, <ahref="https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextAnalytics"title="Create a Text Analytics resource"target="_blank">create a Text Analytics resource <spanclass="docon docon-navigate-external x-hidden-focus"></span></a> in the Azure portal to get your key and endpoint.
38
+
* You will need the key and endpoint from the resource you create to connect your application to the Text Analytics API. You'll do this later in the quickstart.
39
+
* You can use the free pricing tier to try the service, and upgrade later to a paid tier for production.
In a console window (such as cmd, PowerShell, or Bash), create a new directory for your app, and navigate to it. Then create a file named `GemFile`, and a Ruby file for your code.
0 commit comments