SFSpeechRecognizer
对于我的使用情况非常不准确。我已经尝试设置 contextual
字符串,因为我有一个单词数组需要匹配,但它仍然无法实现。我需要其他的配置吗?
我正在使用 Apple 提供的示例项目,只做了这个更改:
recognitionRequest.contextualStrings = @[@"iron man", @"metal", @"stark", @"superhero", @"boyfriend", @"pepper", @"arrogant", @"stylish"];