10

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

4

2 回答 2

10

根据 Apple 最新技术问答

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

链接 到最新的 Apple 技术问答

于 2017-07-22T02:08:52.677 回答
7

Yes, there are limits, but I don't think Apple has issued many specific numbers. Apple released a supplementary video during WWDC 2016 which said the following:

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.

Note the "let us know" part – Apple obviously want developers to use this new API, so if you find it doesn't do what you want they might be able to help.

于 2016-09-01T18:47:32.660 回答