FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update speech usage examples. by daspecster · Pull Request #3206 · googleapis/google-cloud-python · GitHub

Update speech usage examples. - #3206

Merged
lukesneeringer merged 3 commits into
googleapis:masterfrom
daspecster:update-speech-examples-for-beta
Mar 30, 2017
Merged

Update speech usage examples.#3206
lukesneeringer merged 3 commits into
googleapis:masterfrom
daspecster:update-speech-examples-for-beta

Conversation

Copy link
Copy Markdown
Contributor

daspecster added api: speech Issues related to the Speech-to-Text API. docs labels Mar 24, 2017
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 24, 2017

dhermes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Is this not a great opportunity to other put this in a speech_snippets.py file or follow the template of datastore and just test as doctests?

Comment thread docs/speech-usage.rst Outdated
... speech.Encoding.FLAC, 16000,
... source_uri='gs://my-bucket/recording.flac', language_code='en-GB',
... max_alternatives=2)
>>> results = sample.sync_recognize(language_code='en-GB', max_alternatives=2)

This comment was marked as spam.

Copy link
Copy Markdown
Contributor Author

@dhermes yeah I think it would be. @lukesneeringer sounded like I should just run through these manually for now but I'm game either way.

@lukesneeringer WDYT?

dhermes commented Mar 24, 2017

Copy link
Copy Markdown
Contributor

These "hand-crafted" code snippets will always be vulernable to bit-rot if we don't have a way to test them.

Copy link
Copy Markdown
Contributor

Speech is not a GA candidate, so if you are done checking off the GA requirements, feel free to take a more involved pass and make doctests.

Copy link
Copy Markdown
Contributor

To be clear, though, please make sure everything is pristine on the GA libraries first.

daspecster commented Mar 24, 2017
edited
Loading

Copy link
Copy Markdown
Contributor Author

@lukesneeringer @dhermes continue back into the original issue?
#3172 (comment)

Copy link
Copy Markdown
Contributor

Yes.

daspecster commented Mar 28, 2017
edited
Loading

Copy link
Copy Markdown
Contributor Author

@lukesneeringer / @dhermes is this good to merge?

lukesneeringer merged commit 2a0ba64 into googleapis:master Mar 30, 2017
daspecster deleted the update-speech-examples-for-beta branch March 30, 2017 15:22
richkadel pushed a commit to richkadel/google-cloud-python that referenced this pull request May 6, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: speech Issues related to the Speech-to-Text API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL