public interface SpeakerDiarizationConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnableSpeakerDiarization()
If 'true', enables speaker detection for each recognized word in
the top alternative of the recognition result using a speaker_tag provided
in the WordInfo.
|
int |
getMaxSpeakerCount()
Maximum number of speakers in the conversation.
|
int |
getMinSpeakerCount()
Minimum number of speakers in the conversation.
|
int |
getSpeakerTag()
Deprecated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getEnableSpeakerDiarization()
If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo.
bool enable_speaker_diarization = 1;int getMinSpeakerCount()
Minimum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 2.
int32 min_speaker_count = 2;int getMaxSpeakerCount()
Maximum number of speakers in the conversation. This range gives you more 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;@Deprecated int getSpeakerTag()
Output only. Unused.
int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2021 Google LLC. All rights reserved.