python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

Google Speech API not working with en-IN

Open tcsj opened this issue 9 years ago • 4 comments

I am trying to do streaming speech recognition using this code:

https://github.com/mainyaa/speech-api-python-demo/blob/master/grpc/transcribe_streaming.py

It works fine with en-US language but when I try to use it with en-IN or any other language such as en-GB , it takes very long time (about 1 minute).

I have tried to port it to the latest SDK but it is having the same issue:

https://gist.github.com/tcsj/94cd5a864c44ca1d79bdce2f1137bfea

tcsj avatar May 17 '17 12:05 tcsj

@gguuss can you take a look?

theacodes avatar May 17 '17 16:05 theacodes

@tcsj any reason you can't use the Cloud client library instead of the grpc layer?

gguuss avatar Jun 02 '17 17:06 gguuss

I'm experiencing this issue also with the NodeJS version. Sometimes (like 10% of the times) it works and recognize the first sentence, but beside that it never works with any language that is not "en-US"

crash13override avatar Dec 19 '17 00:12 crash13override

If there are still issues, they may be with the API itself, and not with the sample code in this repository. You can report and track bugs for that at https://cloud.google.com/support/docs/issue-trackers

engelke avatar Dec 07 '18 23:12 engelke