gspeech-api
gspeech-api copied to clipboard
Node.js wrapper library to easily access Google Speech Recognition API
Exciting prospect for using your work... I'm getting the following message for different talks I've tried transcribing: > Could not get valid response from Google servers for segment starting at...
I have been trying to run the examples of this module. Unfortunately, I get always this error : tom@Tom-VAIO:~/src/nodeJs/test-gspeech-api$ node timedTranscript.js /mnt/B8CAF9F7CAF9B1AC/TomsFiles/private/GDrive_insync/src/nodeJs/test-gspeech-api/node_modules/gspeech-api/index.js:169 var totalDuration = info.format.duration; ^ TypeError: Cannot read...
Don't know if you guys are interested but I did forked the project, cleaned it up a bit and added the lang option.
optional set language code example for Spanish ``` js var gspeech = require('gspeech-api'); gspeech.recognize({file:'path/to/my/file',lang:'es-ES'}, function(err, data) { if (err) console.error(err); console.log("Final transcript is:\n" + data.transcript); }); ```