The Client Library

The client library is a client library for Speech-to-Text in the Microsoft Bing Speech API

To add the client library dependency from an existing XCode Project: 1. Select your target application, and open the menu File then Add Files to ... 2. Navigate to iPhoneOS, select SpeechSDK.framework, and click Add. 3. Go to your project settings, by single clicking your project, and navigate to the General tab. You'll notice that SpeechSDK.framework exists under the Linked Frameworks and Libraries section. 4. In the General tab, under the Embedded Binaries section, click the (+) button. In the dialog, select SpeechSDK.framework and click the Add button. 5. If you wish to run on the iOS Simulator or MacOSX, repeat steps 2-4 but choose either iPhoneSimulator or MacOSX instead.

The Sample

This sample demonstrates the following features using a wav file or external microphone input: * Short-form recognition * Long-form dictation * Recognition with intent

Use one of your subscription keys as the primaryKey in Samples\_SpeechRecognitionServerExample\_settings.plist.

In XCode, select menu Product > Build to build the sample and Run to launch the sample app.

Running the sample

In XCode, select the menu Product, and Run to launch this sample app.

In the application, press the button Change Mode to select what type of Speech would like to use.

For modes where you would like both Speech recognition and Intent to work, you need to sign up Language Understanding Intelligent Service (LUIS) and set the key values in luisAppID and luisSubscriptionID from Samples\_SpeechRecognitionServerExample\_settings.plist.

To Start recognition, press the Start button.

Contributing

We welcome contributions. Feel free to file issues and pull requests on the repo and we'll address them as we can. Learn more about how you can help on our Contribution Rules & Guidelines.