语音识别 – iOS 10的语音识别限制

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

解决方法

是的,有限制,但我不认为Apple发布了许多具体的数字. Apple在2016年WWDC期间发布了 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,因此如果您发现它不能满足您的需求,他们可能会提供帮助.

相关文章

UITabBarController 是 iOS 中用于管理和显示选项卡界面的一...
UITableView的重用机制避免了频繁创建和销毁单元格的开销,使...
Objective-C中,类的实例变量(instance variables)和属性(...
从内存管理的角度来看,block可以作为方法的传入参数是因为b...
WKWebView 是 iOS 开发中用于显示网页内容的组件,它是在 iO...
OC中常用的多线程编程技术: 1. NSThread NSThread是Objecti...