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 — Speech v1 by lukesneeringer · Pull Request #3266 · googleapis/google-cloud-python Conversation
|
| profanity_filter=profanity_filter, | ||
| speech_context=SpeechContext(phrases=speech_context)) | ||
| sample_rate_hertz=sample.sample_rate_hertz, | ||
| speech_contexts=[SpeechContext(phrases=speech_contexts)], |
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.
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.
|
|
||
| def sample(self, content=None, source_uri=None, stream=None, encoding=None, | ||
| sample_rate=None): | ||
| sample_rate_hertz=None): |
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.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| REQUIREMENTS = [ | ||
| 'google-cloud-core >= 0.24.0, < 0.25dev', | ||
| 'google-cloud-core >= 0.24.0, < 0.26dev', |
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.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| setup( | ||
| name='google-cloud-speech', | ||
| version='0.24.0', | ||
| version='0.25.0', |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| """ | ||
| # This bizarre delay is necessary because the v1 API seems to return | ||
| # the v1beta1 type URL sometimes if you poll too soon. | ||
| time.sleep(3) |
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.
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.
|
LGTM pending CI |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gguuss Are the samples ready for this? We are ready to push it out once your documentation is updated. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'll let y'all know when I have my change in a branch |
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.
|
@lukesneeringer seems weird that the samples have to do |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@jonparrott We do not. Those changes are red in the diff. :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gguuss I am ready to push this to PyPI, as soon as you say you are ready. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@gguuss Poke. (This is due today, so I will push it to PyPI around noon regardless.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm ready to go. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
hello |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This updates our manual client library to the Speech v1 API. This entails several **backwards incompatible changes**: * The `language_code` parameter is no longer optional anywhere. It must be explicitly specified, and does _not_ default to `'en-US'`. * The `sync_recognize` method has been renamed to `recognize` on every class where it appears. * The `async_recognize` method has been renamed to `long_running_recognize` on every class where it appears. * The `sample_rate` parameter and property has been renamed to `sample_rate_hertz` everywhere it appears. Additionally, the backend API contains a backwards incompatible change which does not require a code change in the client library, but will likely require one downstream: The `START_OF_SPEECH`, `END_OF_SPEECH`, and `END_OF_AUDIO` events have been removed.
This updates our manual client library to the Speech v1 API. This entails several **backwards incompatible changes**: * The `language_code` parameter is no longer optional anywhere. It must be explicitly specified, and does _not_ default to `'en-US'`. * The `sync_recognize` method has been renamed to `recognize` on every class where it appears. * The `async_recognize` method has been renamed to `long_running_recognize` on every class where it appears. * The `sample_rate` parameter and property has been renamed to `sample_rate_hertz` everywhere it appears. Additionally, the backend API contains a backwards incompatible change which does not require a code change in the client library, but will likely require one downstream: The `START_OF_SPEECH`, `END_OF_SPEECH`, and `END_OF_AUDIO` events have been removed.
This updates our manual client library to the Speech v1 API. This entails several **backwards incompatible changes**: * The `language_code` parameter is no longer optional anywhere. It must be explicitly specified, and does _not_ default to `'en-US'`. * The `sync_recognize` method has been renamed to `recognize` on every class where it appears. * The `async_recognize` method has been renamed to `long_running_recognize` on every class where it appears. * The `sample_rate` parameter and property has been renamed to `sample_rate_hertz` everywhere it appears. Additionally, the backend API contains a backwards incompatible change which does not require a code change in the client library, but will likely require one downstream: The `START_OF_SPEECH`, `END_OF_SPEECH`, and `END_OF_AUDIO` events have been removed.
…loudPlatform/python-docs-samples#3266) Co-authored-by: Leah E. Cole <[email protected]>
This updates our manual client library to the Speech v1 API. This entails several **backwards incompatible changes**: * The `language_code` parameter is no longer optional anywhere. It must be explicitly specified, and does _not_ default to `'en-US'`. * The `sync_recognize` method has been renamed to `recognize` on every class where it appears. * The `async_recognize` method has been renamed to `long_running_recognize` on every class where it appears. * The `sample_rate` parameter and property has been renamed to `sample_rate_hertz` everywhere it appears. Additionally, the backend API contains a backwards incompatible change which does not require a code change in the client library, but will likely require one downstream: The `START_OF_SPEECH`, `END_OF_SPEECH`, and `END_OF_AUDIO` events have been removed.
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.