简体   繁体   中英

Cordova/Phonegap OpenEars speech recognition

I am trying including the OpenEars plugin into phonegap/cordova using this plugin https://github.com/karljacuncha/OpenEarsPlugin

I followed the Readme but i ended up with an error of missing files, all these files are not found :(

在此输入图像描述

Any help/suggestion on how to integrate the library?

thank you any advice appreciated!

As already mentioned on a comment, new, non-backwards compatible version (2.0) of OpenEars was released on 5th of December in 2014. This of course prevents it from working with old code such as the plugin in this case.

Basically there would be two options to get it working:

  1. Use older version of OpenEars (last one was 1.7.1) but that doesn't seem to be possible as I wasn't able to download it from anywhere after extensive search.

  2. Fix the code to work on newest OpenEars. It shouldn't be that hard and the code of plugin is only ~400 lines of code. Most of the changes are quite straightforward as described in the upgrade guide . Feel free to fork the project in GitHub or try to contact the original author of that plugin to make the fixes necessary.

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