evancohen / sonus

:speech_balloon: /so.nus/ STT (speech to text) for Node with offline hotword detection
MIT License
625 stars 79 forks source link

resultNoMatch: possible phrases error #65

Open sharmmoh1983 opened 7 years ago

sharmmoh1983 commented 7 years ago

Hi I am using resultNoMatch callback: Sonus.annyang.addCallback('resultNoMatch', function(phrases){ console.log("NoresultmatchFound",phrases)

    }); 

But getting following console output:

Phrases are not getting displayed instead some random function

NoresultmatchFound function require(path) { try { exports.requireDepth += 1; return self.require(path); } finally { exports.requireDepth -= 1; } }