-
Notifications
You must be signed in to change notification settings - Fork 289
enableWordTimeOffsets = true not working for streamingRecognize #15
Comments
Would you be able to put together a small repo with a sample audio file, that allows us to clone, run, and see the failure? |
@stephenplusplus looks like it works, but only after isFinal is set to true. Is that a bug? What if I need words boundaries immediatedly while getting interim results? |
Unfortunately, I don't have many answers about how to use the upstream API. We are a very thin layer. You can get in touch with more experienced users / developers through one of the methods mentioned here: https://cloud.google.com/speech/docs/support Sorry that I couldn't be more help on this one. |
Any answers in 2021? |
Still not working info: transcript: {"callsid":"CAe280196639afed68c298bbc8b27530c7","content":"{"results":[{"alternatives":[{"words":[],"transcript":"Good morning. How are you? I'm fine. And you","confidence":0}],"isFinal":false,"stability":0.8999999761581421,"resultEndTime":{"seconds":"8","nanos":390000000},"channelTag":0,"languageCode":"en-us"},{"alternatives":[{"words":[],"transcript":" want to","confidence":0}],"isFinal":false,"stability":0.009999999776482582,"resultEndTime":{"seconds":"8","nanos":390000000},"channelTag":0,"languageCode":"en-us"}],"error":null,"speechEventType":"SPEECH_EVENT_UNSPECIFIED","totalBilledTime":null}","createTime":1646557832403,"text":"Good morning. How are you? I'm fine. And you","timestamp":"2022-03-06 09:10:32","track":"inbound"} |
enableWordTimeOffsets option yelds empty "words" array at least for streamingRecognize and al least for Russian.
Env:
Code:
The text was updated successfully, but these errors were encountered: