Class SpeakerDiarizationConfig
Config to enable speaker diarization.
Implements
Inherited Members
Namespace: Google.Apis.Speech.v1.Data
Assembly: Google.Apis.Speech.v1.dll
Syntax
public class SpeakerDiarizationConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableSpeakerDiarization
If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo.
Declaration
[JsonProperty("enableSpeakerDiarization")]
public virtual bool? EnableSpeakerDiarization { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MaxSpeakerCount
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.
Declaration
[JsonProperty("maxSpeakerCount")]
public virtual int? MaxSpeakerCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
MinSpeakerCount
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.
Declaration
[JsonProperty("minSpeakerCount")]
public virtual int? MinSpeakerCount { get; set; }
Property Value
Type | Description |
---|---|
int? |
SpeakerTag
Output only. Unused.
Declaration
[JsonProperty("speakerTag")]
public virtual int? SpeakerTag { get; set; }
Property Value
Type | Description |
---|---|
int? |