Spring
Spring

Reputation: 11855

iPhone: Speech Recognition is in IOS SDK available?

Does anyone knows that if "speech to text" and "text to speech" api's used in Siri are accessible in IOS 5 or IOS 6 SDK?

I researched but couldn't find anything about it in documentation, so if thats not included in SDK are there any "Siri" quality libraries in market?

Upvotes: 26

Views: 37246

Answers (9)

Donal
Donal

Reputation: 6415

After iOS 10 you can use

Speech.framework

It is very simple to use.Just import Speech into your class

import Speech

let speechRecogizer = SFSpeechRecognizer(locale: Locale.init(identifier: "en-US"))!  //locale whatever you want to use
let recognitionRequest = SFSpeechAudioBufferRecognitionRequest()
let recognitionTask:SFSpeechRecognitionTask = speechRecogizer.recognitionTask(with: recognitionRequest, resultHandler: { (result, error) in 
    print(result?.bestTranscription.formattedString) //here you can get your text 
})

You can also check https://github.com/PKrupa94/SpeechManager for it.

Upvotes: 3

Steve Moser
Steve Moser

Reputation: 7807

iOS 10 introduces a new speech recognition API - SFSpeechRecognizer.

https://developer.apple.com/videos/play/wwdc2016/509/

Upvotes: 5

pooja_chaudhary
pooja_chaudhary

Reputation: 35

For speech recognition you can use OpenEars (http://www.politepix.com/openears/) which works offline and provide good accuracy.OpenEars is free to use in an iPhone or iPad app. Yes OpenEars handles Speech to Text function.

Upvotes: 2

rsebbe
rsebbe

Reputation: 334

We've made an SDK for isolated words (or small phrases) recognition, CeedVocal SDK. We use it in our own app Vocalia. It's not free though (but there's free trial), more information at: http://www.creaceed.com/ceedvocal

Upvotes: 2

flatux
flatux

Reputation: 39

You might also want to check out ispeech's text to speech and speech recognition APIs. They already allow you to include it in your apps without much trouble and actually are a bit better than what Siri has. Siri's big strength is the NLP, not so much the underlying speech tech.

Upvotes: 3

neils4fun
neils4fun

Reputation: 199

Check out Openears at: http://www.politepix.com/openears I've used it experimentally and it worked great. It will recognize preset vocabularies very well. There is a slight pause of 1/2 second or so before it recognizes the word and it gets confused in an environment with a lot of voices (a crowded restaurant), but in a reasonably quiet setting I found it works great.

Upvotes: 12

Tim
Tim

Reputation: 14446

Siri is not available in API form yet, however, any UITextField or UITextArea can be dictated to using the built-in option for speech-to-text.

Upvotes: 14

jbat100
jbat100

Reputation: 16827

Siri is only available as a beta on iPhone 4S, not sure if the plan is to spread it to all iOS 5 capable devices. Open source libraries for voice recognition are hard to come by. You could look into Nuance (dragon) developer gateway here.

Upvotes: 3

Dancreek
Dancreek

Reputation: 9544

Siri is not available to Developers yet.

Upvotes: 2

Related Questions