Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::SpeakerDiarizationConfig (v0.11.0)

Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::SpeakerDiarizationConfig.

Configuration to enable speaker diarization.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#max_speaker_count

def max_speaker_count() -> ::Integer
Returns
  • (::Integer) — Required. Maximum number of speakers in the conversation. Valid values are: 1-6. Must be >= min_speaker_count. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers.

#max_speaker_count=

def max_speaker_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Maximum number of speakers in the conversation. Valid values are: 1-6. Must be >= min_speaker_count. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers.
Returns
  • (::Integer) — Required. Maximum number of speakers in the conversation. Valid values are: 1-6. Must be >= min_speaker_count. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers.

#min_speaker_count

def min_speaker_count() -> ::Integer
Returns
  • (::Integer) — Required. 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.

    To fix the number of speakers detected in the audio, set min_speaker_count = max_speaker_count.

#min_speaker_count=

def min_speaker_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. 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.

    To fix the number of speakers detected in the audio, set min_speaker_count = max_speaker_count.

Returns
  • (::Integer) — Required. 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.

    To fix the number of speakers detected in the audio, set min_speaker_count = max_speaker_count.