Level of confidence in the results of SFSpeechRecognizer()

Hi,
From the documentation of SFSpeechRecognizer(), it seems that "An array of potential transcriptions, sorted in descending order of confidence." can be returned from a call to SFSpeechRecognizer():

https://developer.apple.com/documentation/speech/sfspeechrecognitionresult/1648282-transcriptions

However, is it possible to get at the confidence levels (of the items in sais array) per se?

1 Like

This is not really a Swift question, so it's a better fit for the Apple developer forums, but I think you're looking for the confidence property on SFTranscriptionSegment.

2 Likes

Thank you.

@serge-hulne I have an issue like same you discuss in your post. Thanks for sharing with us. Due to you i am able to solve this problem. :slightly_smiling_face:

2 Likes
Terms of Service

Privacy Policy

Cookie Policy