GoogleApi.Speech.V1.Model.SpeakerDiarizationConfig (google_api_speech v0.23.1-beta-0.0.4) View Source

Config to enable speaker diarization.

Attributes

  • enableSpeakerDiarization (type: boolean(), default: nil) - 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.
  • maxSpeakerCount (type: integer(), default: nil) - 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.
  • minSpeakerCount (type: integer(), default: nil) - 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.
  • speakerTag (type: integer(), default: nil) - Output only. Unused.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Speech.V1.Model.SpeakerDiarizationConfig{
  enableSpeakerDiarization: boolean() | nil,
  maxSpeakerCount: integer() | nil,
  minSpeakerCount: integer() | nil,
  speakerTag: integer() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.