I know that there is no public API for the SIRI-Services, but is there an API for simple Speech-Recognition? So if I have a textfield and the user taps onto that textfield, a keyboard with the typically microphone button appears and if he pressed it the speech get recognized and transformed into a string object? Or is this button maybe presented by default?
How to use Speech Recognition inside the iOS SDK? [closed]
Asked Answered
There are many libraries availble. You can use any of them.
Hope it helps you.
NOTE:
if you download openears (which contains a sample project called "OpenEarsSampleApp") @efimovD mentions this
Check the code in view controller and you will see an array with possible commands. This thing detects commands! Not some talk. It listens and tries to compare what you've said with the words from array
It seems openear's sample app always thinks I am repeating the word "GO". Fails completely. Using iPhone 6+ with 8.1.2 –
Kasi
You can also consider CeedVocal (not free) which has been used in many apps on iOS. github.com/creaceed/CeedVocal and creaceed.com/ceedvocal –
Vivisection
Is TTS for speech recognition or only for text-to-speech? If only for the latter one, please remove it from the list. –
Drin
which one is best for indian accent ? –
Oney
I checked the docs and made an edit. TTS does indeed do TTS only and not recognition. –
Oden
@Kasi Yes, this is because you don' t understand what it does. Check the code in view controller and you will see an array with possible commands. This thing detects commands! Not some talk. It listens and tries to compare what you've said with the words from array. The best comparison will be displayed. –
Blether
ispeech.org/#/home claims iSpeech is free and open-source for Mobile use..? –
Sciential
You can find sample app for TTS over here ---> github.com/jonbarlo/iPhoneTTSSampleApp –
Marna
You can use the MindMeld iOS SDK provided by Expect Labs. It supports continuous (streaming) speech recognition on iOS. It also supports natural language understanding and content discovery for any custom content domain.
Try it out at: https://expectlabs.com/docs/sdks/ios/gettingStarted
To the suggester: you shouldn't do that, the link should be left as is, because the reader could understand where are they going to click. –
Shrivel
© 2022 - 2024 — McMap. All rights reserved.
let recognizer = SFSpeechRecognizer() let request = SFSpeechURLRecognitionRequest(url: audioFileURL) recognizer?.recognitionTask(with: request, resultHandler: { (result, error) in print (result?.bestTranscription.formattedString) })
– Northway