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
-
(::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
-
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.
-
(::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
-
(::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. If not set, the default value is 2.
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
-
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. If not set, the default value is 2.
To fix the number of speakers detected in the audio, set
min_speaker_count
=max_speaker_count
.
-
(::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. If not set, the default value is 2.
To fix the number of speakers detected in the audio, set
min_speaker_count
=max_speaker_count
.