Skip to content

Commit 5e41005

Browse files
committed
[CogSvcs] added specific instructions for replacing values
1 parent e1ddb64 commit 5e41005

File tree

5 files changed

+51
-24
lines changed

5 files changed

+51
-24
lines changed

articles/cognitive-services/Speech-Service/includes/quickstarts/from-blob/cpp/windows.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: include
11-
ms.date: 10/28/2019
11+
ms.date: 01/13/2020
1212
ms.author: erhopf
1313
zone_pivot_groups: programming-languages-set-two
1414
---
@@ -18,10 +18,10 @@ zone_pivot_groups: programming-languages-set-two
1818
Before you get started, make sure to:
1919

2020
> [!div class="checklist"]
21-
> * [Create an Azure Speech Resource](../../../../get-started.md)
22-
> * [Upload a source file to an azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
23-
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=dotnet)
24-
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=dotnet)
21+
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=linux&pivots=programmming-language-cpp)
22+
> * [Create an empty sample project](../../../../quickstarts/create-project.md?pivots=programmming-language-cpp)
23+
> * [Create an Azure Speech resource](../../../../get-started.md)
24+
> * [Upload a source file to an Azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
2525
2626
## Open your project in Visual Studio
2727

@@ -50,7 +50,8 @@ vcpkg install nlohmann-json
5050
Let's add some code that works as a skeleton for our project.
5151

5252
[!code-cpp[](~/samples-cognitive-services-speech-sdk/quickstart/cpp/windows/from-blob/helloworld.cpp?range=7-32,187-190,300-309)]
53-
(You'll need to replace the values of `YourSubscriptionKey`, `YourServiceRegion`, and `YourFileUrl` with your own values.)
53+
54+
[!INCLUDE [placeholder-replacements](../placeholder-replacements.md)]
5455

5556
## JSON Wrappers
5657

articles/cognitive-services/Speech-Service/includes/quickstarts/from-blob/csharp/dotnet.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: include
11-
ms.date: 10/28/2019
11+
ms.date: 01/13/2020
1212
ms.author: erhopf
1313
zone_pivot_groups: programming-languages-set-two
1414
---
@@ -18,10 +18,10 @@ zone_pivot_groups: programming-languages-set-two
1818
Before you get started, make sure to:
1919

2020
> [!div class="checklist"]
21-
> * [Create an Azure Speech Resource](../../../../get-started.md)
22-
> * [Upload a source file to an azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
23-
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=dotnet)
24-
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=dotnet)
21+
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=vs&pivots=programmming-language-csharp)
22+
> * [Create an empty sample project](../../../../quickstarts/create-project.md?pivots=programmming-language-csharp)
23+
> * [Create an Azure Speech resource](../../../../get-started.md)
24+
> * [Upload a source file to an Azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
2525
2626
## Open your project in Visual Studio
2727

@@ -30,7 +30,7 @@ The first step is to make sure that you have your project open in Visual Studio.
3030
1. Launch Visual Studio 2019.
3131
2. Load your project and open `Program.cs`.
3232

33-
## Add a reference to NewtonSoftJSon
33+
## Add a reference to Newtonsoft.Json
3434

3535
1. In the Solution Explorer, right-click the **helloworld** project, and then select **Manage NuGet Packages** to show the NuGet Package Manager.
3636

@@ -40,7 +40,7 @@ The first step is to make sure that you have your project open in Visual Studio.
4040

4141
1. In the search box, type *newtonsoft.json* and select **Enter**.
4242

43-
1. From the search results, select the **Newtonsoft.Json** package, and then select **Install** to install the latest stable version.
43+
1. From the search results, select the [**Newtonsoft.Json**](https://www.nuget.org/packages/Newtonsoft.Json) package, and then select **Install** to install the latest stable version.
4444

4545
1. Accept all agreements and licenses to start the installation.
4646

@@ -51,7 +51,9 @@ The first step is to make sure that you have your project open in Visual Studio.
5151
Let's add some code that works as a skeleton for our project.
5252

5353
[!code-csharp[](~/samples-cognitive-services-speech-sdk/quickstart/csharp/dotnet/from-blob/program.cs?range=6-43,138,277)]
54-
(You'll need to replace the values of `YourSubscriptionKey`, `YourServiceRegion`, and `YourFileUrl` with your own values.)
54+
55+
[!INCLUDE [placeholder-replacements](../placeholder-replacements.md)]
56+
5557
## JSON Wrappers
5658

5759
As the REST API's take requests in JSON format and also return results in JSON we could interact with them using only strings, but that's not recommended.

articles/cognitive-services/Speech-Service/includes/quickstarts/from-blob/java/jre.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: include
11-
ms.date: 10/28/2019
11+
ms.date: 01/13/2020
1212
ms.author: erhopf
1313
zone_pivot_groups: programming-languages-set-two
1414
---
@@ -18,10 +18,11 @@ zone_pivot_groups: programming-languages-set-two
1818
Before you get started, make sure to:
1919

2020
> [!div class="checklist"]
21-
> * [Create an Azure Speech Resource](../../../../get-started.md)
22-
> * [Upload a source file to an azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
23-
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=dotnet)
24-
> * [Create an empty sample project](../../../../quickstarts/create-project.md?tabs=dotnet)
21+
> * [Setup your development environment](../../../../quickstarts/setup-platform.md?tabs=jre&pivots=programmming-language-java)
22+
> * [Create an empty sample project](../../../../quickstarts/create-project.md?pivots=programmming-language-java)
23+
> * [Create an Azure Speech resource](../../../../get-started.md)
24+
> * [Upload a source file to an Azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
25+
2526

2627
## Open your project in Eclipse
2728

@@ -41,7 +42,8 @@ Open your pom.xml and add the following reference:
4142
Let's add some code that works as a skeleton for our project.
4243

4344
[!code-java[](~/samples-cognitive-services-speech-sdk/quickstart/java/jre/from-blob/src/quickstart/Main.java?range=1-13,95-105,206-207)]
44-
(You'll need to replace the values of `YourSubscriptionKey`, `YourServiceRegion`, and `YourFileUrl` with your own values.)
45+
46+
[!INCLUDE [placeholder-replacements](../placeholder-replacements.md)]
4547

4648
## JSON Wrappers
4749

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: "Quickstart: Recognize speech stored in blob storage - Speech service"
3+
titleSuffix: Azure Cognitive Services
4+
services: cognitive-services
5+
author: IEvangelist
6+
manager: nitinme
7+
ms.service: cognitive-services
8+
ms.subservice: speech-service
9+
ms.topic: include
10+
ms.date: 01/13/2020
11+
ms.author: dapine
12+
---
13+
14+
You'll need to replace the following values:
15+
16+
- `YourSubscriptionKey`: found in the the **Keys** page of the Azure Portal for the Speech resource
17+
- `YourServiceRegion`: found in the the **Overview** page of the Azure Portal for the Speech resource
18+
- `YourFileUrl`: found in under the **Blob service / Containers** page of the Azure Portal for the Storage account resource
19+
- Select the appropriate container
20+
- Select the desired blob
21+
- Copy the **URL** under the **Properties** page

articles/cognitive-services/Speech-Service/includes/quickstarts/from-blob/python/python.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: speech-service
1010
ms.topic: include
11-
ms.date: 10/28/2019
11+
ms.date: 01/13/2020
1212
ms.author: erhopf
1313
zone_pivot_groups: programming-languages-set-two
1414
---
@@ -18,10 +18,10 @@ zone_pivot_groups: programming-languages-set-two
1818
Before you get started, make sure to:
1919

2020
> [!div class="checklist"]
21-
> * [Create an Azure Speech Resource](../../../../get-started.md)
22-
> * [Upload a source file to an azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
2321
> * [Setup your development environment](../../../../quickstarts/setup-platform.md)
2422
> * [Create an empty sample project](../../../../quickstarts/create-project.md)
23+
> * [Create an Azure Speech resource](../../../../get-started.md)
24+
> * [Upload a source file to an Azure blob](https://docs.microsoft.com/azure/storage/blobs/storage-quickstart-blobs-portal)
2525
2626
## Download and install the API client library
2727

@@ -63,7 +63,8 @@ pip install requests
6363
Let's add some code that works as a skeleton for our project.
6464
6565
[!code-python[](~/samples-cognitive-services-speech-sdk/quickstart/python/from-blob/python-client/main.py?range=1-2,7-34,115-119)]
66-
(You'll need to replace the values of `YourSubscriptionKey`, `YourServiceRegion`, and `YourFileUrl` with your own values.)
66+
67+
[!INCLUDE [placeholder-replacements](../placeholder-replacements.md)]
6768
6869
## Create and configure an Http Client
6970
The first thing we'll need is an Http Client that has a correct base URL and authentication set.

0 commit comments

Comments
 (0)