• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Building a Siri Like Application on iOS
 

Building a Siri Like Application on iOS

on

  • 6,068 views

A siri like application to find near by hotel, restaurants using Nuance Mobile SDK.

A siri like application to find near by hotel, restaurants using Nuance Mobile SDK.

Statistics

Views

Total Views
6,068
Views on SlideShare
6,044
Embed Views
24

Actions

Likes
3
Downloads
58
Comments
0

4 Embeds 24

http://www.linkedin.com 11
https://www.linkedin.com 9
http://us-w1.rockmelt.com 3
http://www.mefeedia.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Building a Siri Like Application on iOS Building a Siri Like Application on iOS Presentation Transcript

    • iOS Dev Scout - May Meetup Building A Siri-like Application Subhransu Behera (Subh) - iOS Application Architect in SAP Twitter : @subhransu Blog : http://subhb.org Email : subhransu.behera@sap.comWednesday, May 30, 12
    • About Me • iOS and Ruby Developer • Have passion for Mobile, Web and Smart TV Apps. • Started as a Linux Developer, fell in love with Ruby, happily married to iOS • M.S. in Software Systems from BITS, Bachelors in Information Technology from BPUT, Graduated from Founder Institute • Worked both in early stage startup and fortune 500 companies including one from MIT, Media-Labs. Currently working SAP APJ Mobility CoE making enterprises run their mobile Apps.Wednesday, May 30, 12
    • When “Siri” Came !Wednesday, May 30, 12
    • No Official Siri APIs Yet • Needed to use it for an Electric Vehicle Application • There are few Open Source SDK: • OpenEars: http://www.politepix.com/openears • iSpeech: https://www.ispeech.org/developers • Dragon Speech Kit (Nuance) : http:// dragonmobile.nuancemobiledeveloper.com/public/index.php? task=homeWednesday, May 30, 12
    • Why Nuance? • Multiple language support (Supports speech recognition in 23 international languages) • They Make “Voice” really work. • Suggestion and Recommendation engine is pretty strong. • Have both Speech-to-Text and Text-to-Speech capabilities • Supports Multiple Platforms (iOS, Android, Windows Phone) • They are the guys behind Siri?Wednesday, May 30, 12
    • Tiers & PricingWednesday, May 30, 12
    • Free for 90 DaysWednesday, May 30, 12
    • 1. Signup and Download Dragon Mobile SDK from Nuance Developer Portal http://dragonmobile.nuancemobiledeveloper.comWednesday, May 30, 12
    • Get Application Key from EmailWednesday, May 30, 12
    • Class Class References SKRecognizer - Manages entire recognition process including recording and server communication SKRecognition - Contains recognition results returned from SKRecognizer SKVocalizer - Defines server based text to speech implementation SpeechKit - Core class providing setup and utility methods. Meant for Core Networking, Recognition, Audio System componentsWednesday, May 30, 12
    • Protocols Protocol References SKRecognizerDelegate - Defines the messages sent to a delegate of the SKRecognizer class SKVocalizerDelegate - Defines the methods sent by SKVocalizer class during speech synthesis process SpeechKitDelegate - Defines the messages sent to a delegate object registered as part of the call to setupWithID.Wednesday, May 30, 12
    • How it WorksWednesday, May 30, 12
    • Recognizing SpeechWednesday, May 30, 12
    • Sample Speech Recognition AppWednesday, May 30, 12
    • Step-by-step Guide • Open the file Classes/DMRecognizerViewController. Replace the SpeechKitApplicationKey[] value with your key. • In the setupWithID:host:port:useSSL:delegate:`` method, replace the ID parameter with your ID. • You should also verify that the host and port provided to that method match the host and port provided in the portal. • You can now run the application: connect your device and select Build and Run. Main Recognition ViewWednesday, May 30, 12
    • Main Recognizer View This view has 4 sections • Voice Interface contains a multi-purpose button for controlling the recognition process and has a result field. • Recognition Type allows for the selection between the two default recognition models: search and dictation. • Audio Level provides a basic VU meter display. • Alternatives displays the complete list of recognition results.Wednesday, May 30, 12
    • Recognition Logic 1. On viewDidLoad of main view, Speech Kit 4. On a successful completion, the method framework is configured by calling recognizer:didFinishWithResults: returns with setupWithID:host:port:useSSL:delegate an SKRecognition object that contains the list of method. recognition results. 2. On tap of "Record" button, a new SKRecognizer is 5. The top result, retrieved with the firstResult created with the method, is listed in text box. The complete list of initWithType:detection:language:delegate: results, accessed through the results property, is method. displayed in the large text field. 3. When the recording finishes, the delegate method 6. If an error occurs, the method recognizerDidFinishRecording: is called, and the recognizer:didFinishWithError:suggestion: is button is updated. called, and both the error and suggestion methods are presented to the user.Wednesday, May 30, 12
    • Recognition with SuggestionsWednesday, May 30, 12
    • Let’s build our Own AppWednesday, May 30, 12
    • Download Source-code from: https://github.com/subhb/FindNearBy-Siri Nearby Restaurants Nearby Stations Speak “Restaurant” or “Station” to find nearby resultsWednesday, May 30, 12
    • Twitter Search App Using Nuance http://www.youtube.com/watch?v=ZJILw2iEprEWednesday, May 30, 12
    • Thank You Twitter : @subhransu Blog : http://subhb.org Email : subhransu.behera@sap.comWednesday, May 30, 12