Coder Social home page Coder Social logo

zhaoxin151 / cognitive-speech-stt-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/cognitive-speech-stt-ios

0.0 2.0 0.0 21.87 MB

iOS SDK for the Microsoft Speech-to-Text API, part of Cognitive Services

Home Page: https://www.microsoft.com/cognitive-services/en-us/speech-api

License: Other

Objective-C 100.00%

cognitive-speech-stt-ios's Introduction

Microsoft Bing Speech API: iOS Speech-to-Text Client Library & Sample

This repo contains iOS samples for using Speech-to-Text in the Microsoft Bing Speech API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.

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 Speech > SpeechToText > iOS > 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

Build the sample

  1. First, you must obtain a Speech API subscription key by [following the instructions on our website(https://www.microsoft.com/cognitive-services/en-us/sign-up).

  2. Start XCode and choose the menu File, and Open... the workspace file Speech > SpeechToText > iOS > SpeechSDK.xcworkspace.

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

Running the sample

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

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

  2. 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.

  3. 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.

You can reach out to us anytime with questions and suggestions using our communities below:

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

License

All Microsoft Cognitive Services SDKs and samples are licensed with the MIT License. For more details, see LICENSE.

Sample images are licensed separately, please refer to LICENSE-IMAGE.

Developer Code of Conduct

Developers using Cognitive Services, including this client library & sample, are expected to follow the “Developer Code of Conduct for Microsoft Cognitive Services”, found at http://go.microsoft.com/fwlink/?LinkId=698895.

cognitive-speech-stt-ios's People

Contributors

delfu avatar jasonvomsft avatar lightfrenzy avatar msftgits avatar

Watchers

James Cloos avatar wanghaibo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.