I am looking for a way to do speech recognition using ionic framework . I want to run an app in both ios and android device. Currently i am providing a web view in both ios and android and have a common code base . I want to include speech recognition feature to it and fetch the output of speech .
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
I was stuck at the same point. Then I found a url where I got a solution. As per as url they followed a
cordova plugin
. So you need to follow these steps:1 - add Cordova plugin
2 - add TTS plugin
3 - implementation of plugin code
Enjoy your code time:)
You can use ng-speech-recognition AngularJS directive, it is working with ionic Framework:
ng-speech-recognition
It looks like you have at least a couple options if you search around for "cordova speech recognition" on Google and if you look at the plugin repo at Apache's Cordova site.
Here's two quick ones I found.
The key here is that Ionic Framework is built on Cordova, so really you want a Cordova plugin for speech recognition.