public sealed class SpeakerDiarizationConfig : IMessage<SpeakerDiarizationConfig>, IEquatable<SpeakerDiarizationConfig>, IDeepCloneable<SpeakerDiarizationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Speech v1p1beta1 API class SpeakerDiarizationConfig.
Config to enable speaker diarization.
Implements
IMessageSpeakerDiarizationConfig, IEquatableSpeakerDiarizationConfig, IDeepCloneableSpeakerDiarizationConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V1P1Beta1Assembly
Google.Cloud.Speech.V1P1Beta1.dll
Constructors
SpeakerDiarizationConfig()
public SpeakerDiarizationConfig()
SpeakerDiarizationConfig(SpeakerDiarizationConfig)
public SpeakerDiarizationConfig(SpeakerDiarizationConfig other)
Parameter | |
---|---|
Name | Description |
other |
SpeakerDiarizationConfig |
Properties
EnableSpeakerDiarization
public bool EnableSpeakerDiarization { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
MaxSpeakerCount
public int MaxSpeakerCount { get; set; }
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.
Property Value | |
---|---|
Type | Description |
int |
MinSpeakerCount
public int MinSpeakerCount { get; set; }
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.
Property Value | |
---|---|
Type | Description |
int |
SpeakerTag
[Obsolete]
public int SpeakerTag { get; set; }
Output only. Unused.
Property Value | |
---|---|
Type | Description |
int |