SFSpeechRecognizer doesn't work

Hi


I have a couple questions:


1. I have this code on macOS 10.15

...

var recognizer = SFSpeechRecognizer(locale: Locale(identifier: "en-US"))!

...

...

if !self.recognizer.isAvailable

{

NSLog("RECOGNIZER NOT AVAILABLE")

return

}


The thing is recognizer is NOT availabe. No matter what I do, it's always not available. Am I missing something? What should I do to make it work?


2. I downloaded one example of SFSpeechRecognizer on iOS. I know that in WWDC19, it was said that now ondevice recognition is supported. I put a break point here


if #available(iOS 13, *) {

recognitionRequest.requiresOnDeviceRecognition = true

}

and recognitionRequest.requiresOnDeviceRecognition = true is executed.

However, when I say something, the sample application not responding. It's not doing anything. It does something if I set that requiresOnDeviceRecognition flag to false and turn on internet.

why is it not working? Am I doing something wrong?

If someone can guide me, please help.

Many thanks in advance

Replies

Still happening in Catalina b2.

Yes, still doesn't work in Beta 2 😟

Still broken in Catalina beta 3 😟

when will it be fixed?

Same here. Still don't know how to get this working in beta 3.

Still broken in Catalina beta 4.

when will it be fixed?

Still not working in beta 5. Getting worried this won’t make it to the release...

Still not working in beta 6.

Still not working in beta 7.

Still not working in beta 8.