Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speech region tag update #1644

Merged
merged 13 commits into from
Aug 21, 2018
Prev Previous commit
Next Next commit
update diarization tag to beta
  • Loading branch information
alixhami committed Aug 16, 2018
commit e8f5ee58b7e03bd90405ad07cab40017b3abe124
4 changes: 2 additions & 2 deletions speech/cloud-client/beta_snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def transcribe_file_with_auto_punctuation():

def transcribe_file_with_diarization():
"""Transcribe the given audio file synchronously with diarization."""
# [START speech_transcribe_diarization]
# [START speech_transcribe_diarization_beta]
from google.cloud import speech_v1p1beta1 as speech
client = speech.SpeechClient()

Expand Down Expand Up @@ -172,7 +172,7 @@ def transcribe_file_with_diarization():
for word_info in words_info:
print("word: '{}', speaker_tag: {}".format(word_info.word,
word_info.speaker_tag))
# [END speech_transcribe_diarization]
# [END speech_transcribe_diarization_beta]


def transcribe_file_with_multichannel():
Expand Down