GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Added setEnableWordTimeOffsets(true) to Async Recognize for a File by dlaqab · Pull Request #781 · GoogleCloudPlatform/java-docs-samples ConversationAdded setEnableWordTimeOffsets(false) to Sync samples and quick start
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
gguuss
suggested changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't false the default?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't false the default?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a test for this.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. I added the test. I also fixed the test failure in AsyncRecognizeGcs test, so all the tests should pass now
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're missing seconds, this just shows the nanoseconds for portions of the response.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please update the other async sample to correctly show the seconds and nanos calculated to second fractions.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. your original code did not have seconds, and I did not change the "pretty print" to show seconds.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't this superfluous as false is the default?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm pretty sure we don't want to set an optional parameter to its default value in the quickstart example. Thoughts?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsFixed the tests for WordTimeOffsets
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
gguuss
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line shows the all up transcript - lines bellow it are iterating through the words and displaying the start and end time stamps
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
gguuss
reviewed
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Revert this change when you correct the print output in
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
@lesv /FYI - Looks like the Circle tests are not running because this is on a personal fork of the repo. When I run the tests locally, the following is my output:
Checkstyle shows:
So mostly LGTM, I'm just a little concerned about setting the optional parameter to its default value in the Quickstart still. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gguuss I'll try to fix that tomorrow. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I feel we may want to at some point remove the .setEnableWordTimeOffsets(false) calls but reluctantly approving for today.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I signed it! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Will make change separately to match other samples.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This can be closed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
why? I am not sure why this needs to be closed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The setEnableWordTimeOffsets() call in these samples is extraneous to the task these samples are intended to demonstrate. Closing. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note: samples which demonstrate Enable Word Time Offsets were added to java-docs-samples in #787 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.