Skip to content

Commit

Permalink
sample download links use explicit path, PHP requires curl, spelling (#…
Browse files Browse the repository at this point in the history
…683)

* links to sample download use the canonical /README.md#get-the-samples format rather than relative paths

* fix to current link with pivot

* typo fix

* no en-US in path

* no period there!

* specify PHP with curl enabled

* PHP with curl
  • Loading branch information
v-demjoh authored Jun 16, 2020
1 parent 5670456 commit c83d4df
Show file tree
Hide file tree
Showing 27 changed files with 41 additions and 35 deletions.
3 changes: 2 additions & 1 deletion quickstart/javascript/browser/from-file/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ These samples demonstrate how to recognize speech from a file using the Speech S
> Note: more detailed step-by-step instructions are available [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/speech-to-text-from-file?pivots=programming-language-javascript).
* **By downloading the Microsoft Cognitive Services Speech SDK when building this sample, you acknowledge its license, see [Speech SDK license agreement](https://docs.microsoft.com/azure/cognitive-services/speech-service/license).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* From the [Speech SDK for JavaScript .zip package](https://aka.ms/csspeech/jsbrowserpackage) extract the file
`microsoft.cognitiveservices.speech.sdk.bundle.js` and place it into the folder that contains this quickstart.

If you want to host the sample on a web server:

* The web server must be secure (HTTPS).
* The web server must support PHP with curl enabled.
* Edit the `token.php` source:
* Replace the string `YourServiceRegion` with the service region of your subscription.
For example, replace with `westus` if you are using the 30-day free trial subscription.
Expand Down
2 changes: 1 addition & 1 deletion quickstart/javascript/browser/from-microphone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ These samples demonstrate how to synthesize speech using the Speech SDK for Java
## Build the sample

* **By downloading the Microsoft Cognitive Services Speech SDK when building this sample, you acknowledge its license, see [Speech SDK license agreement](https://docs.microsoft.com/azure/cognitive-services/speech-service/license).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* From the [Speech SDK for JavaScript .zip package](https://aka.ms/csspeech/jsbrowserpackage) extract the file
`microsoft.cognitiveservices.speech.sdk.bundle.js` and place it into the folder that contains this quickstart.

Expand Down
3 changes: 2 additions & 1 deletion quickstart/javascript/browser/intent-recognition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ This sample shows how to recognize intent with the Speech Service using the Spee
> Note: more detailed step-by-step instructions are available [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser).
* **By downloading the Microsoft Cognitive Services Speech SDK when building this sample, you acknowledge its license, see [Speech SDK license agreement](https://docs.microsoft.com/azure/cognitive-services/speech-service/license).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* From the [Speech SDK for JavaScript .zip package](https://aka.ms/csspeech/jsbrowserpackage) extract the file
`microsoft.cognitiveservices.speech.sdk.bundle.js` and place it into the folder that contains this quickstart.

If you want to host the sample on a web server:

* The web server must be secure (HTTPS).
* The web server must support PHP with curl enabled.
* Edit the `token.php` source:
* Replace the string `YourServiceRegion` with the service region of your subscription.
For example, replace with `westus` if you are using the 30-day free trial subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ These samples demonstrate how to recognize speech, and how to create or join a m
> Note: more detailed step-by-step instructions are available [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser).
* **By downloading the Microsoft Cognitive Services Speech SDK when building this sample, you acknowledge its license, see [Speech SDK license agreement](https://docs.microsoft.com/azure/cognitive-services/speech-service/license).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* From the [Speech SDK for JavaScript .zip package](https://aka.ms/csspeech/jsbrowserpackage) extract the file
`microsoft.cognitiveservices.speech.sdk.bundle.js` and place it into the folder that contains this quickstart.

If you want to host the sample on a web server:

* The web server must be secure (HTTPS).
* The web server must support PHP with curl enabled.
* Edit the `token.php` source:
* Replace the string `YourServiceRegion` with the service region of your subscription.
For example, replace with `westus` if you are using the 30-day free trial subscription.
Expand Down Expand Up @@ -61,4 +62,4 @@ If you want to host the sample on a web server:

* [Speech SDK API reference for JavaScript](https://aka.ms/csspeech/javascriptref)
* [Speech SDK Multi-device Conversation (Preview)](https://docs.microsoft.com/azure/cognitive-services/speech-service/multi-device-conversation)
* [Language support for Multi-device conversation (Preview)](https://docs.microsoft.com/azure/cognitive-services/speech-service/multi-device-conversation#language-support)
* [Language support for Multi-device conversation (Preview)](https://docs.microsoft.com/azure/cognitive-services/speech-service/multi-device-conversation#language-support)
5 changes: 3 additions & 2 deletions quickstart/javascript/browser/text-to-speech/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ This sample shows how to use the Speech Service using the Speech SDK for JavaScr
> Note: more detailed step-by-step instructions are available [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser).
* **By downloading the Microsoft Cognitive Services Speech SDK when building this sample, you acknowledge its license, see [Speech SDK license agreement](https://docs.microsoft.com/azure/cognitive-services/speech-service/license).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* From the [Speech SDK for JavaScript .zip package](https://aka.ms/csspeech/jsbrowserpackage) extract the file
`microsoft.cognitiveservices.speech.sdk.bundle.js` and place it into the folder that contains this quickstart.

If you want to host the sample on a web server:

* The web server must be secure (HTTPS).
* The web server must support PHP with curl enabled.
* Edit the `token.php` source:
* Replace the string `YourServiceRegion` with the service region of your subscription.
For example, replace with `westus` if you are using the 30-day free trial subscription.
Expand All @@ -48,4 +49,4 @@ If you want to host the sample on a web server:

* [Quickstart article on the SDK documentation site](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser)
* [Speech SDK API reference for JavaScript](https://aka.ms/csspeech/javascriptref)
* [Speech SDK Text to Speech](https://docs.microsoft.com/azure/cognitive-services/speech-service/text-to-speech)
* [Speech SDK Text to Speech](https://docs.microsoft.com/azure/cognitive-services/speech-service/text-to-speech)
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ This sample shows how to translate speech into multiple languages with the Speec
> Note: more detailed step-by-step instructions are available [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser).
* **By downloading the Microsoft Cognitive Services Speech SDK when building this sample, you acknowledge its license, see [Speech SDK license agreement](https://docs.microsoft.com/azure/cognitive-services/speech-service/license).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* From the [Speech SDK for JavaScript .zip package](https://aka.ms/csspeech/jsbrowserpackage) extract the file
`microsoft.cognitiveservices.speech.sdk.bundle.js` and place it into the folder that contains this quickstart.

If you want to host the sample on a web server:

* The web server must be secure (HTTPS).
* The web server must support PHP with curl enabled.
* Edit the `token.php` source:
* Replace the string `YourServiceRegion` with the service region of your subscription.
For example, replace with `westus` if you are using the 30-day free trial subscription.
Expand All @@ -49,4 +50,4 @@ If you want to host the sample on a web server:

* [Quickstart article on the SDK documentation site](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser)
* [Speech SDK API reference for JavaScript](https://aka.ms/csspeech/javascriptref)
* [Speech SDK Speech Translation](https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-translation)
* [Speech SDK Speech Translation](https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-translation)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Quickstart: Using the Speech Service to Translate Speech in JavaScript on a Web Browser.
# Quickstart: Using the Speech Service to Translate Speech in JavaScript on a Web Browser

This sample shows how to translate speech with the Speech Service using the Speech SDK for JavaScript on a web browser, like Microsoft Edge, or Chrome. It illustrates how the SDK can be used to translate speech in one language to text in a different language.

* See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-translate-speech-to-text-js-browser) on the SDK documentation page for step-by-step instructions.
* See the [accompanying article](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstarts/translate-speech-to-text?pivots=programming-language-javascript) on the SDK documentation page for step-by-step instructions.
* See the [overview article](https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-translation) on the SDK documentation page to learn more about translation using the Speech Service.

## Prerequisites
Expand All @@ -17,13 +17,14 @@ This sample shows how to translate speech with the Speech Service using the Spee
> Note: more detailed step-by-step instructions are available [here](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser).
* **By downloading the Microsoft Cognitive Services Speech SDK when building this sample, you acknowledge its license, see [Speech SDK license agreement](https://docs.microsoft.com/azure/cognitive-services/speech-service/license).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* From the [Speech SDK for JavaScript .zip package](https://aka.ms/csspeech/jsbrowserpackage) extract the file
`microsoft.cognitiveservices.speech.sdk.bundle.js` and place it into the folder that contains this quickstart.

If you want to host the sample on a web server:

* The web server must be secure (HTTPS).
* The web server must support PHP with curl enabled.
* Edit the `token.php` source:
* Replace the string `YourServiceRegion` with the service region of your subscription.
For example, replace with `westus` if you are using the 30-day free trial subscription.
Expand All @@ -48,4 +49,4 @@ If you want to host the sample on a web server:

* [Quickstart article on the SDK documentation site](https://docs.microsoft.com/azure/cognitive-services/speech-service/quickstart-js-browser)
* [Speech SDK API reference for JavaScript](https://aka.ms/csspeech/javascriptref)
* [Speech SDK Speech Translation](https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-translation)
* [Speech SDK Speech Translation](https://docs.microsoft.com/azure/cognitive-services/speech-service/speech-translation)
2 changes: 1 addition & 1 deletion samples/cpp/linux/compressed-audio-input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The compressed audio input stream should be either in MP3 or Opus format.

## Build the sample

* [Download the sample code to your development PC.](../../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Download and extract the Speech SDK
* **By downloading the Microsoft Cognitive Services Speech SDK, you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* Run the following commands after replacing the string `/your/path` with a directory (absolute path) of your choice:
Expand Down
2 changes: 1 addition & 1 deletion samples/cpp/windows/console/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This sample demonstrates various forms of speech recognition, intent recognition
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
* Navigate to the folder containing this sample, and select the solution file contained within it.
* To tailor the sample to your configuration, use search and replace across the whole solution (for example, via **Edit** \> **Find and Replace** \> **Quick Replace**) to update the following strings:
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/dotnet-windows/console/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ It runs under the .NET Framework 4.6.1 (or above) on Windows.
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)

> **Note:** make sure to download the complete set of samples, not just this directory.
> This sample references code in the directory [../../sharedcontent/console](../../sharedcontent/console), which is shared across samples.
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/dotnet-windows/speechtotext-wpf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The sample runs on .NET Framework 4.6.1 (or above) on Windows.
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
* Navigate to the folder containing this sample, and select the solution file contained within it.
* Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/dotnet-windows/translation-wpf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The sample runs on .NET Framework 4.6.1 (or above) on Windows.
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
* Navigate to the folder containing this sample, and select the solution file contained within it.
* Press Ctrl+Shift+B, or select **Build** \> **Build Solution**.
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/dotnetcore/console/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ It runs under .NET Core 2.0 on Windows or Linux (Ubuntu 16.04 x64, Ubuntu 18.04
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)

> **Note:** make sure to download the complete set of samples, not just this directory.
> This sample references code in the directory [../../sharedcontent/console](../../sharedcontent/console), which is shared across samples.
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/unity/VirtualAssistantPreview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This sample demonstrates how to connect to a BotFramework bot, send and receive

* **By downloading the plugin and sample you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* The Speech SDK for Unity (Beta) is packaged as a Unity asset package (.unitypackage). Download it from [here](https://aka.ms/csspeech/unitypackage).
* Also, [download the sample code to your development PC.](../../../../README.md#get-the-samples)
* Also, [download the sample code to your development PC.](/README.md#get-the-samples)

## Prepare the sample

Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/uwp/speechtotext-uwp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This sample demonstrates various forms of recognizing speech with C# under the U
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
* Navigate to the folder containing this sample, and select the solution file contained within it.
* Set the active solution configuration and platform to the desired values under **Build** \> **Configuration Manager**:
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/uwp/texttospeech-uwp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This sample demonstrates various forms of synthesizing speech with C# under the
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
* Navigate to the folder containing this sample, and select the solution file contained within it.
* Set the active solution configuration and platform to the desired values under **Build** \> **Configuration Manager**:
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/uwp/virtualassistant-uwp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See the [accompanying article](https://docs.microsoft.com/azure/cognitive-servic
## Build the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Start Microsoft Visual Studio 2017 and select **File** \> **Open** \> **Project/Solution**.
* Navigate to the folder containing this sample, and select the solution file contained within it.
* Set the active solution configuration and platform to the desired values under **Build** \> **Configuration Manager**:
Expand Down
2 changes: 1 addition & 1 deletion samples/csharp/xamarin/kws-xamarin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This Speech SDK sample demonstrates how to start speech recognition by using a k
## Prepare the sample

* **By building this sample you will download the Microsoft Cognitive Services Speech SDK. By downloading you acknowledge its license, see [Speech SDK license agreement](https://aka.ms/csspeech/license201809).**
* [Download the sample code to your development PC.](../../README.md#get-the-samples)
* [Download the sample code to your development PC.](/README.md#get-the-samples)
* Start Microsoft Visual Studio 2019 and select **File** \> **Open** \> **Project/Solution**.
* Navigate to the folder containing this sample (under quickstart\csharp-xamarin), and select the solution file contained within it.
* After Visual Studio solution is launched, acknowledge that sample has a following projects:
Expand Down
Loading

0 comments on commit c83d4df

Please sign in to comment.