SFSpeechRecognizer 是否需要互联网连接?
Does SFSpeechRecognizer require internet connection?
SFSpeechRecognizer
是否像 Siri 一样在 Apple 服务器上完成处理,还是在 iPhone 本地完成?
此 link 处的语音识别 API 说明
" In the case of speech recognition, permission is required because
data is transmitted and temporarily stored on Apple’s servers to
increase the accuracy of speech recognition."
所以这似乎表明处理是在 Apple 服务器上进行的。
根据https://developer.apple.com/videos/play/wwdc2019/256/ (mirror),SFSpeechRecognizer做的语音识别可以on-device(即不连接服务器)进行语音识别:
但是,SFSpeechRecognizer's documentation (mirror) 说:
On-device speech recognition is available for some languages, but the framework also relies on Apple’s servers for speech recognition. Always assume that performing speech recognition requires a network connection.
上面的文档和 WWDC 2019 幻灯片似乎相互矛盾。
SFSpeechRecognizer
是否像 Siri 一样在 Apple 服务器上完成处理,还是在 iPhone 本地完成?
此 link 处的语音识别 API 说明
" In the case of speech recognition, permission is required because data is transmitted and temporarily stored on Apple’s servers to increase the accuracy of speech recognition."
所以这似乎表明处理是在 Apple 服务器上进行的。
根据https://developer.apple.com/videos/play/wwdc2019/256/ (mirror),SFSpeechRecognizer做的语音识别可以on-device(即不连接服务器)进行语音识别:
但是,SFSpeechRecognizer's documentation (mirror) 说:
On-device speech recognition is available for some languages, but the framework also relies on Apple’s servers for speech recognition. Always assume that performing speech recognition requires a network connection.
上面的文档和 WWDC 2019 幻灯片似乎相互矛盾。