Merged
Conversation
Contributor
Author
|
@nnegrey , @dizcology , @theacodes Can you please review this PR? |
Contributor
|
Looks like these use the |
nnegrey
reviewed
Jul 11, 2018
| python transcribe_diarization.py \ | ||
| resources/Google_Gnome.wav | ||
| python transcribe_diarization.py \ | ||
| gs://cloud-ml-api-e2e-testing/speech/stereo_audio.wav |
Contributor
There was a problem hiding this comment.
cloud-ml-api-e2e-testing public bucket?
Contributor
Author
|
Good catch @nnegrey. I moved all the 4 beta samples to beta_snippets.py and simplified a few things. |
nnegrey
approved these changes
Jul 12, 2018
dizcology
reviewed
Jul 13, 2018
| print('First alternative of result {}: {}' | ||
| .format(i, alternative.transcript)) | ||
| print('Speaker Tag for the first word: {}' | ||
| .format(alternative.words[0].speaker_tag)) |
Member
There was a problem hiding this comment.
does each word in alternative.words have other relevant information concerning diarization besides speaker_tag? if so print them as well, if not please ignore this comment.
dizcology
reviewed
Jul 13, 2018
| os.path.join(RESOURCES, 'Google_Gnome.wav')) | ||
| out, err = capsys.readouterr() | ||
|
|
||
| assert 'OK Google stream stranger things from Netflix to my TV' in out |
Member
There was a problem hiding this comment.
are there two different speakers in this audio file? if so assert something about the speaker_tags being returned correctly.
busunkim96
pushed a commit
to busunkim96/python-speech
that referenced
this pull request
Sep 1, 2020
busunkim96
pushed a commit
to googleapis/python-speech
that referenced
this pull request
Sep 3, 2020
telpirion
pushed a commit
that referenced
this pull request
Jan 13, 2023
8 tasks
dandhlee
pushed a commit
that referenced
this pull request
Feb 9, 2023
telpirion
pushed a commit
that referenced
this pull request
Mar 13, 2023
atulep
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
Apr 6, 2023
atulep
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
Apr 6, 2023
atulep
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
Apr 18, 2023
parthea
pushed a commit
to googleapis/google-cloud-python
that referenced
this pull request
Oct 22, 2023
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
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.
The samples in this code demo diarization: Basically who said what (when there is more than just one person talking).