public sealed class SpeakerDiarizationConfig : IMessage<SpeakerDiarizationConfig>, IEquatable<SpeakerDiarizationConfig>, IDeepCloneable<SpeakerDiarizationConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Speech v1 API class SpeakerDiarizationConfig.
Config to enable speaker diarization.
Implements
IMessage<SpeakerDiarizationConfig>, IEquatable<SpeakerDiarizationConfig>, IDeepCloneable<SpeakerDiarizationConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V1Assembly
Google.Cloud.Speech.V1.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 |
Boolean |
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 |
Int32 |
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 |
Int32 |
SpeakerTag
[Obsolete]
public int SpeakerTag { get; set; }
Output only. Unused.
Property Value | |
---|---|
Type | Description |
Int32 |