Class SpeakerDiarizationConfig (3.0.0)

public sealed class SpeakerDiarizationConfig : IMessage<SpeakerDiarizationConfig>, IEquatable<SpeakerDiarizationConfig>, IDeepCloneable<SpeakerDiarizationConfig>, IBufferMessage, IMessage

Config to enable speaker diarization.

Inheritance

Object > SpeakerDiarizationConfig

Namespace

Google.Cloud.Speech.V1

Assembly

Google.Cloud.Speech.V1.dll

Constructors

SpeakerDiarizationConfig()

public SpeakerDiarizationConfig()

SpeakerDiarizationConfig(SpeakerDiarizationConfig)

public SpeakerDiarizationConfig(SpeakerDiarizationConfig other)
Parameter
NameDescription
otherSpeakerDiarizationConfig

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
TypeDescription
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
TypeDescription
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
TypeDescription
Int32

SpeakerTag

[Obsolete]
public int SpeakerTag { get; set; }

Output only. Unused.

Property Value
TypeDescription
Int32