![]() |
AT&T API Platform SDK for Microsoft®
2.3.3
Wrapper classes that allow developers to build robust applications using .NET
|
This cookbook shows you how to develop a Speech Service application using the Platform SDK for Microsoft.
The Platform SDK for Microsoft provides the following methods:
To use these methods in an application, perform the following steps:
To convert the spoken audio to text, invoke the SpeechToText method using the RequestFactory instance by passing an audio file name and the context to be applied for Speech to Text conversion as shown in the following code example.
// Path of the audio file which needs to convert to text string fileToUpload = "xxxxxxxxx\\xxxxxxxx\\xxxxx"; SpeechResponse response = this.requestFactory.SpeechToText(fileToUpload, XSpeechContext.Generic);