pocketsphinx.js
pocketsphinx.js copied to clipboard
pocketsphinx + cordova app. Is it possible?
is it possible use pocketsphinx.js in cordova/phonegap application? I have tried to integrate the code to my blank application with "record_audio" permission. But no positive result... There is a demo app for understand the functionality? Or a pocketsphinx plugin for cordova?
Thanks in advance!
This is not relevant to pocketsphinx.js. To use pocketsphinx in phonegap you have to create a pocketsphinx plugin for phonegap. It is pretty straightforward task, you just wrap the API based on documentation.
@Danyzzz we actually already briefly discussed that. In brief, as JavaScript, pocketsphinx.js can run inside Cordova, but I do not think the audio recording part would work, at least not on all platforms. So you should probably use an audio recording plugin and pass the audio samples to the recognizer.