locked
Recommended way to consume Bing Speech Recognition API in Win10 C# UAP? RRS feed

  • Question

  • Hi,

    I am investigating on how to consume Bing Speech Recognition Api and LUIS in a Win10 C# UWP/UAP project. 

    At first I found the C# client library under the Client Library page

                    https://www.microsoft.com/cognitive-services/en-us/Speech-api/documentation/GetStarted/GetStartedCSharpDesktop

    It has exact what we want: speech recognition combined with LUIS.  Unfortunately, the C# client library seems desktop-only and does not support UAP.

    Then I found the Windows Api page (also listed under the same Bing Speech API section) for .NET UAP on Win10

    https://www.microsoft.com/cognitive-services/en-us/Speech-api/documentation/GetStarted/GetStartedCSharpWin10

    It doesn’t have built-in support for LUIS, which is fine, as we can do the LUIS step ourselves.  But I noticed that the sample is using the Windows.Media.SpeechRecognition API, instead of a thin client wrapper that calls into the Bing Speech API.  That would have required a subscription key.

    My questions are:

    • Does the Windows.Media.SpeechRecognition API call the Bing Speech API behind the scene?  The documentation page seems to imply so

    “Learn to create and develop a simple Windows 10 Universal Application that uses the Windows.Media.SpeechRecognition API to convert spoken audio input into text by sending audio to Microsoft’s servers in the cloud. Alternatively you have a choice of using a REST API, …”

    • What kind of subscription does it use?
    • Is Windows.Media.SpeechRecognition API the recommended way to work with Bing Speech Recognition API in Win10 UAP?

    The API is good enough for our scenario.  For obvious reason, we would like to avoid the REST API route.

    Thanks,

    Jeremy
    Tuesday, October 11, 2016 6:49 PM