Post

Replies

Boosts

Views

Activity

SFSpeechRecognitionTask recognizes wrong language
SFSpeechRecognitionTask created with SFSpeechRecognizer that was created with German as a locale (de-DE) gives results when people talk in plain English. We are using this method to create the recognition task https://developer.apple.com/documentation/speech/sfspeechrecognizer/1649883-recognitiontask and we get the results in the result handler. I am saying "What are you doing today" and even though SFSpeechRecognizer was created with German locale it recognizes it with high confidence. It also has the final result. We also check with SFSpeechRecognizer.supportedLocales() if the locale we use is supported and it is supported. Results in the recognition task - https://developer.apple.com/forums/content/attachment/59c7872e-d7a9-435f-873d-fe890e6a0729 Feedback ID: FB8987305 - https://feedbackassistant.apple.com/feedback/8987305 (SFSpeechRecognitionTask recognizes wrong language)
0
0
528
Feb ’21
iOS 13.2 SFSpeechRecognizer recognitionTask resultsHandler final result with 2 or more seconds delay
When using recognitionTask of SFSpeechRecognizer on iOS 13.2, the resultsHandler gives partial results normally but the final one comes with around 2 seconds delay. 2 seconds was with english and around 30 seconds for other languages.I was profiling it, trying to see if there is something keeping the final result to come, but I did not find anything.recognitionTask function:open func recognitionTask(with request: SFSpeechRecognitionRequest, resultHandler: @escaping (SFSpeechRecognitionResult?, Error?) -> Void) -> SFSpeechRecognitionTaskDid anybody had the same issue and maybe found out why is it happening?
5
0
1.8k
Nov ’19