This project contains Golang binding for the Microsoft Cognitive Service Speech SDK.
This project requires Go 1.13
First, you new need to set the environment variables for Go to find the SDK:
export CGO_CFLAGS="-I/path/to/SDKs/include/c_api" export CGO_LDFLAGS="-L/path/to/SDKs/library -lMicrosoft.CognitiveServices.Speech.core"
After that we are ready to compile the package
To run applications consuming this project, we need to add the library to the path (if it is not there already)
In addition to the environment variables needed to run applications, running tests requires setting the following variables:
export SPEECH_SUBSCRIPTION_KEY="your_subscription_key" export SPEECH_SUBSCRIPTION_REGION="your_region" export DIALOG_SUBSCRIPTION_KEY="your_dialog_subscription_key" export DIALOG_SUBSCRIPTION_REGION="your_dialog_region"
Reference documentation for these packages is available at http://aka.ms/csspeech/goref
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
Package audio provides the audio configuration, input/output streams, and related utilities for audio interactions
|Package audio provides the audio configuration, input/output streams, and related utilities for audio interactions|
Package common contains the definitions for many of the shared objects and properties in the Speech SDK
|Package common contains the definitions for many of the shared objects and properties in the Speech SDK|
Package dialog provides functionality for creating custom voice assistant applications and managing the related interaction flow
|Package dialog provides functionality for creating custom voice assistant applications and managing the related interaction flow|
Package speech provides functionality for speech recognizers along with their related configuration and event objects
|Package speech provides functionality for speech recognizers along with their related configuration and event objects|