简体   繁体   中英

Voice Recognition in IBM Worklight for iOS

I'm currently writing a hybrid mobile app for iOS and Android using IBM Worklight. I want to add a voice recognition feature to the app but have struggled to find a cordova plugin implementation that works accurately. Currently I have tried the following...

  • Web Speech API using a JavaScript interface. This hasn't worked because it is not supported in iOS yet.
  • iSpeech. Using a cordova plugin, I have this working but the iSpeech recognition is so bad it's unusable.

If anyone has any suggestions of plugins to try or free recognition services that would work well that would be great. Better still if anyone has successfully implemented voice recognition in Cordova or Worklight on iOS I'd love to know how you achieved it.

Thanks in advance.

Thanks to those who commented on my question. I have found a work around to my problem that may be useful to some of you. I adjusted my code to use html text inputs, when a user taps the text input to bring up the iOS keyboard they can use the built in voice recognition to add text to the input. See below:

<input type="text" id="searchBox" placeholder="Ask Watson" />

I know this is not a perfect solution but it solved my problem in the specific app I am working on.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM