Skip to content

Commit 412a17b

Browse files
yoshi-automationtseaver
authored andcommitted
fix(speech): move 'speaker_tag' field from 'SpeakerDiarizationConfig' to 'WordInfo' (via synth) (#9576)
1 parent e0e4d1a commit 412a17b

File tree

3 files changed

+74
-74
lines changed

3 files changed

+74
-74
lines changed

speech/google/cloud/speech_v1/proto/cloud_speech.proto

+8-8
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,6 @@ message SpeakerDiarizationConfig {
366366
// flexibility by allowing the system to automatically determine the correct
367367
// number of speakers. If not set, the default value is 6.
368368
int32 max_speaker_count = 3;
369-
370-
// A distinct integer value is assigned for every speaker within
371-
// the audio. This field specifies which one of those speakers was detected to
372-
// have spoken this word. Value ranges from '1' to diarization_speaker_count.
373-
// speaker_tag is set if enable_speaker_diarization = 'true' and only in the
374-
// top alternative.
375-
int32 speaker_tag = 5
376-
[(google.api.field_behavior) = OUTPUT_ONLY];
377369
}
378370

379371
// Description of audio data to be recognized.
@@ -752,4 +744,12 @@ message WordInfo {
752744

753745
// The word corresponding to this set of information.
754746
string word = 3;
747+
748+
// A distinct integer value is assigned for every speaker within
749+
// the audio. This field specifies which one of those speakers was detected to
750+
// have spoken this word. Value ranges from '1' to diarization_speaker_count.
751+
// speaker_tag is set if enable_speaker_diarization = 'true' and only in the
752+
// top alternative.
753+
int32 speaker_tag = 5
754+
[(google.api.field_behavior) = OUTPUT_ONLY];
755755
}

0 commit comments

Comments
 (0)