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

Documentation is outdated for "enable_word_time_offsets=True"

Open atulep opened this issue 3 years ago • 3 comments

This is a copy of the https://github.com/googleapis/python-speech/issues/445. The issue is with sample snippets.

Line no 44 in this file: https://github.com/googleapis/python-speech/blob/HEAD/samples/snippets/transcribe_word_time_offsets.py

It should be enable_word_time_offsets=1

And on another Google documentation page it shows camelCase format! https://cloud.google.com/speech-to-text/docs/reference/rest/v1/RecognitionConfig

atulep avatar Apr 14 '23 21:04 atulep

Andy, can you help take a look at this?

dandhlee avatar Jul 24 '23 20:07 dandhlee

@dandhlee I don't oversee code snippets, just notebooks. With the reorgs, I would ask Karl W on whom covers this now.

andrewferlitsch avatar Nov 17 '23 00:11 andrewferlitsch

Hi, I took a little time to look at this problem and ran the test with both "enable_word_time_offsets=1" and "enable_word_time_offsets= True" without any problem. If the problem consistent for you please feel feel to reopen the issue. Thank you

jping0220 avatar Feb 15 '24 20:02 jping0220