Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
fix(speech): move 'speaker_tag' field from 'SpeakerDiarizationConfig'…
Browse files Browse the repository at this point in the history
… to 'WordInfo' (via synth) (#9576)
  • Loading branch information
yoshi-automation authored and tseaver committed Oct 31, 2019
1 parent 0bb2a53 commit 2ba5ab9
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 74 deletions.
16 changes: 8 additions & 8 deletions google/cloud/speech_v1/proto/cloud_speech.proto
Original file line number Diff line number Diff line change
Expand Up @@ -366,14 +366,6 @@ message SpeakerDiarizationConfig {
// flexibility by allowing the system to automatically determine the correct
// number of speakers. If not set, the default value is 6.
int32 max_speaker_count = 3;

// A distinct integer value is assigned for every speaker within
// the audio. This field specifies which one of those speakers was detected to
// have spoken this word. Value ranges from '1' to diarization_speaker_count.
// speaker_tag is set if enable_speaker_diarization = 'true' and only in the
// top alternative.
int32 speaker_tag = 5
[(google.api.field_behavior) = OUTPUT_ONLY];
}

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

// The word corresponding to this set of information.
string word = 3;

// A distinct integer value is assigned for every speaker within
// the audio. This field specifies which one of those speakers was detected to
// have spoken this word. Value ranges from '1' to diarization_speaker_count.
// speaker_tag is set if enable_speaker_diarization = 'true' and only in the
// top alternative.
int32 speaker_tag = 5
[(google.api.field_behavior) = OUTPUT_ONLY];
}
Loading

0 comments on commit 2ba5ab9

Please sign in to comment.