evancohen / sonus

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

Speech recognizer #50

Open sharmmoh1983 opened 7 years ago

sharmmoh1983 commented 7 years ago

Any plans to accommodate multiple languages support

silverWeaver commented 7 years ago

I guess you are referring to the Google Cloud Speech API. +1 by me. Is it somewhere hardcoded? We are practically searching for languageCode parameter.

silverWeaver commented 7 years ago

OK, I just had a look to the examples sections. I think it's already covered there.

sharmmoh1983 commented 7 years ago

No I am not looking for languageCode because that is configurable ...but one at a time

I am taking about handling multiple languages by speech recognizerat one time just like Google Voice Search

As of now we can just configure one language at a time Does Google Cloud Speech support more than 1 language simultaneously, like Google Voice on my Android phone does?

evancohen commented 7 years ago

According to their documentation you must pass in a language: Recognition Config which seems to indicate that it does not support language detection.

For supported languages you can look at their Language Support Docs.

sharmmoh1983 commented 7 years ago

Can we have two google stream running/associated simultaneously with sonus to detect two different languages at same time?

evancohen commented 7 years ago

If you modified Sonus I'm guessing that you'd be able to accomplish this, yes,