GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — add Speech API auto punctuation sample by dizcology · Pull Request #1446 · GoogleCloudPlatform/python-docs-samples

Conversation

@dizcology

@dizcology dizcology commented Apr 10, 2018

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dizcology
add auto punctuation sample
3d2b943
@dizcology
dizcology requested review from beccasaurus and nnegrey April 10, 2018 22:25
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 10, 2018
@telpirion

telpirion commented Apr 12, 2018

Copy link
Copy Markdown
Contributor

The auto punctuation sample helps greatly. Thank you!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

beccasaurus
beccasaurus approved these changes Apr 12, 2018
View reviewed changes

@beccasaurus beccasaurus left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Okay. Sure. 😛

LGTM!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
nnegrey
nnegrey reviewed Apr 12, 2018
View reviewed changes
Comment thread speech/cloud-client/beta_snippets.py Outdated

# [START speech_transcribe_file_with_auto_punctuation]
def transcribe_file_with_auto_punctuation(path):
"""Transcribe the given audio file using an enhanced model."""

@nnegrey nnegrey Apr 12, 2018

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

the "enhanced model" bit, this is where I'm confused between the one type of enhanced models and the model selected enhanced models. (Not sure if this point really matters though)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dizcology dizcology Apr 12, 2018

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I failed to update the docstring - fixing it now.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
nnegrey
nnegrey approved these changes Apr 12, 2018
View reviewed changes
@dizcology
correct docstring
e2eedc5
@michaelawyu
michaelawyu merged commit 41e8754 into GoogleCloudPlatform:master Apr 12, 2018
@jgeorge-burwood

jgeorge-burwood commented Apr 12, 2018

Copy link
Copy Markdown

Is this functionality available in python client library 0.33.0? Trying to test but its coming back with: Protocol message RecognitionConfig has no "enable_automatic_punctuation" field.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jgeorge-burwood

jgeorge-burwood commented Apr 12, 2018

Copy link
Copy Markdown

solved -- I needed the types and enums from v1p1beta1 as well. doh!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dalmam11

dalmam11 commented Apr 18, 2018

Copy link
Copy Markdown

jgeorge-burwood I have the same issue where did you found v1p1beta1?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dalmam11

dalmam11 commented Apr 18, 2018

Copy link
Copy Markdown

cannot import name 'speech_v1p1beta1'

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jgeorge-burwood

jgeorge-burwood commented Apr 24, 2018

Copy link
Copy Markdown

dalmam11 make sure you're using at least 0.33.0 of the client library.
pip install --upgrade google-cloud-speech

Then just add the imports, you'll probably want something like:
...
from google.cloud import speech_v1p1beta1 as speech
from google.cloud.speech_v1p1beta1 import enums
...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

busunkim96 pushed a commit to busunkim96/python-speech that referenced this pull request Sep 1, 2020
@dizcology chenyumic
add Speech API auto punctuation sample [(#1446)](GoogleCloudPlatform/…
589cec6
…python-docs-samples#1446)

* add auto punctuation sample

* correct docstring
busunkim96 pushed a commit to googleapis/python-speech that referenced this pull request Sep 3, 2020
@dizcology @busunkim96
add Speech API auto punctuation sample [(#1446)](GoogleCloudPlatform/…
b0cac41
…python-docs-samples#1446)

* add auto punctuation sample

* correct docstring
telpirion pushed a commit that referenced this pull request Jan 13, 2023
@dizcology @busunkim96
add Speech API auto punctuation sample [(#1446)](#1446)
e76c323
* add auto punctuation sample

* correct docstring
@telpirion telpirion mentioned this pull request Jan 13, 2023
chore(speech): migrate code from googleapis/python-speech #8982
Merged
8 tasks
dandhlee pushed a commit that referenced this pull request Feb 9, 2023
@dizcology @dandhlee
add Speech API auto punctuation sample [(#1446)](#1446)
e2996f9
* add auto punctuation sample

* correct docstring
telpirion pushed a commit that referenced this pull request Mar 13, 2023
@dizcology @telpirion
add Speech API auto punctuation sample [(#1446)](#1446)
1a7b5ab
* add auto punctuation sample

* correct docstring
atulep pushed a commit to googleapis/google-cloud-python that referenced this pull request Apr 6, 2023
@dizcology @busunkim96
add Speech API auto punctuation sample [(#1446)](GoogleCloudPlatform/…
ddd2b69
…python-docs-samples#1446)

* add auto punctuation sample

* correct docstring
atulep pushed a commit to googleapis/google-cloud-python that referenced this pull request Apr 6, 2023
@dizcology @busunkim96
add Speech API auto punctuation sample [(#1446)](GoogleCloudPlatform/…
a0d9c55
…python-docs-samples#1446)

* add auto punctuation sample

* correct docstring
atulep pushed a commit to googleapis/google-cloud-python that referenced this pull request Apr 18, 2023
@dizcology @busunkim96
add Speech API auto punctuation sample [(#1446)](GoogleCloudPlatform/…
95bcc3c
…python-docs-samples#1446)

* add auto punctuation sample

* correct docstring
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Oct 22, 2023
@dizcology @busunkim96
add Speech API auto punctuation sample [(#1446)](GoogleCloudPlatform/…
8e49fe8
…python-docs-samples#1446)

* add auto punctuation sample

* correct docstring
@parthea parthea mentioned this pull request Sep 8, 2026
migrate code from googleapis/python-bigquery #14589
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@beccasaurus beccasaurus beccasaurus approved these changes
@nnegrey nnegrey nnegrey approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@dizcology @telpirion @jgeorge-burwood @dalmam11 @beccasaurus @nnegrey @googlebot @michaelawyu
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.