Creating Conversational Interfaces on iOS - mDevCamp 2018
mDevCamp Prague 2018
We'll explore the latest technologies for creating conversational interfaces in your app. We'll explore speech recognition, both with Apple's APIs and other solutions such as Amazon Lex.
Time iOS Speech Recognition API Free iOS only n/a 63 n/a n/a Amazon Transcribe/ Lex $0.004/ request iOS, Android, Web 5000 requests/ month English + Spanish/ English only n/a n/a Google Cloud/ Dialogflow $0.0065/ request iOS, Android, Web 1000 requests/ day 100+/ 26 40% 2200 ms Bing Speech API/Azure Bot Service $0.004/ request iOS, Android, Web 5000 request/ month 34/ 18 28% 2500 ms IBM Watson/ Assistant $0.0025/ request iOS, Android, Web 10,000 requests 9 33% 4500 ms Accuracy and API response time referenced from: https://recast.ai/blog/benchmarking-speech-recognition-api/
Time iOS Speech Recognition API Free iOS only n/a 63 n/a n/a Amazon Transcribe/ Lex $0.004/ request iOS, Android, Web 5000 requests/ month English + Spanish/ English only n/a n/a Google Cloud/ Dialogflow $0.0065/ request iOS, Android, Web 1000 requests/ day 100+/ 26 40% 2200 ms Bing Speech API/Azure Bot Service $0.004/ request iOS, Android, Web 5000 request/ month 34/ 18 28% 2500 ms IBM Watson/ Assistant $0.0025/ request iOS, Android, Web 10,000 requests 9 33% 4500 ms Accuracy and API response time referenced from: https://recast.ai/blog/benchmarking-speech-recognition-api/
"m4a") else { return } guard let recognizer = SFSpeechRecognizer() else { // Device or locale not supported return } if !recognizer.isAvailable { // Internet connection may not be available return } let request = SFSpeechURLRecognitionRequest(url: url) recognizer.recognitionTask(with: request) { (result, error) in guard let result = result else { return } print("result: \(result.bestTranscription.formattedString)") if result.isFinal { print("final result: \(result.bestTranscription.formattedString)") } } }