sonus icon indicating copy to clipboard operation
sonus copied to clipboard

Recognition Support: Wit.ai

Open evancohen opened this issue 7 years ago • 5 comments

evancohen avatar Sep 29 '16 00:09 evancohen

Hi I am following your smart mirror project and really like to figure out how to implement speech recognition integrations. I know that currently wit.ai supports audio file/stream upload voice recognition in its python SDK. I would like to help, even though i am quite a new to programing)

Sultan91 avatar Jan 04 '17 09:01 Sultan91

Wit.ai has a Node.js library but I'm pretty sure they don't support streaming in it anymore. Their deprecated library had support for this though, so there might be a way for us to pull this off anyhow (so long as the endpoint still exists): https://github.com/wit-ai/DEPRECATED-node-wit/blob/master/lib/wit.js#L105

The Google Cloud Speech API that is implemented today is probably your best bet.

evancohen avatar Jan 05 '17 21:01 evancohen

@evancohen

The Google Cloud Speech API that is implemented today is probably your best bet.

You mean the Google's recognition is better than wit's, right? So you would even do speech2text via google when you want to analyse the sentence with wit afterwards?

timaschew avatar Aug 24 '18 18:08 timaschew

Wit doesn't provide a streaming speech to text service anymore (as far as I can tell), only NLP. My suggestion would be to pass along the recognized text to Wit for in your final-result handler and then do whatever you need to with the results from Wit.

evancohen avatar Aug 25 '18 15:08 evancohen

Oh, that's true.

For my case I anyway want to send it to wit.ai. For that case it would be the same result (when recognition has same quality).

timaschew avatar Aug 25 '18 16:08 timaschew