iPhone: Speech Recognition is in IOS SDK available

2019-03-08 20:21发布

问题:

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?

回答1:

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.



回答2:

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.



回答3:

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.



回答4:

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.



回答5:

iOS 10 introduces a new speech recognition API - SFSpeechRecognizer.

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



回答6:

Siri is not available to Developers yet.



回答7:

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



回答8:

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.



回答9:

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.