SFSpeechRecognizer does not handle context strings correctly

SFSpeechRecognizer very inaccurate for my use case. I tried setting contextual strings as I have an array of words to match. But he is still not able to do this. Do I need any other configuration?

I am using a sample project provided by Apple only with this change:

 recognitionRequest.contextualStrings = @[@"iron man", @"metal", @"stark", @"superhero", @"boyfriend", @"pepper", @"arrogant", @"stylish"]; 
+8
ios objective-c sirikit sfspeechrecognizer
source share
1 answer

My understanding is that contextualStrings are only for adding words that supposedly don't exist yet to the dictionary.

For example: rare/strange words like "Expecto Patronum" or "Fuddle duddle"

Read more at Apple Documentation

0
source share

All Articles