node-witai-speech
Wit.ai speech API wrapper to extract the meaning of audio file
Install
npm install node-witai-speech [--save]
Usage
var WitSpeech = ; // Stream the file to be sent to the wit.aivar stream = fs; // The wit.ai instance api keyvar API_KEY = "ISDFWERSDFSDFSDFSDFSDFJIKM"; // The content-type for this audio stream (audio/wav, ...)var content_type = "audio/wav"; // Its best to return a promisevar parseSpeech = { // call the wit.ai api with the created stream WitSpeech;}; // check in the promise for the completion of call to witaiparseSpeech