This is a questoin regarding new iOS 10 Speech framework. I get the speech recognition result using following method
recognitionTask = [speechRecgzr recognitionTaskWithRequest:recognitionRequest resultHandler:^(SFSpeechRecognitionResult * _Nullable result, NSError * _Nullable error) {
}
But the timestamp of each SFTranscriptionSegment in result is 0 and also confidence is always 0
What can be the problem here? Have apple not implemented the API properly yet?
Thank you.
After few weeks I found that by setting this I can get timestamp and confidence:
speechRecgzr.defaultTaskHint = SFSpeechRecognitionTaskHintDictation;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With