iOS 10 的语音识别限制

Speech Recognition Limits for iOS 10

有谁知道 iOS 10(每台设备或每个应用程序)的语音识别有限制吗?

是的,有限制,但我认为 Apple 并没有发布很多具体数字。 Apple 在 WWDC 2016 期间发布了一个 supplementary video,内容如下:

Now just a quick talk about some best practices. We're making speech recognition available for free to all apps but we do have some reasonable limits in place so that the service remains available to everyone. Individual devices may be limited in the amount of recognitions that can be performed per day.

Apps may also be throttled globally on a request per day basis. Like other service backed APIs, for example CLGO Coder, be prepared to handle network and rate limiting failures. If you find that you're routinely hitting your throttling limits, please let us know.

It's also important to be aware that speech recognition can have a high cost in terms of battery drain and network traffic.

For iOS 10 we're starting with a strict audio duration limit of about one minute which is similar to that of keyboard dictation.

请注意“让我们知道”部分 – Apple 显然希望开发人员使用这个新的 API,因此如果您发现它没有按照您的要求进行操作,他们可能会提供帮助。

根据 Apple 最新技术问答

设备可以发出的 SFSpeechRecognitionRequest 调用次数的当前速率限制为每小时 1000 次请求。请注意,此限制是针对设备可以发出的请求数量,与发出请求的应用程序无关。这与与请求关联的音频长度无关。对于给定的 SFSpeechRecognitionRequest,每个请求最多允许一分钟的音频。

Link to latest Apple Technical Q & A!