Class: Google::Cloud::Speech::V1p1beta1::SpeakerDiarizationConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb

Overview

Config to enable speaker diarization.

Instance Attribute Summary collapse

Instance Attribute Details

#enable_speaker_diarization::Boolean

Returns 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.

Returns:

  • (::Boolean)

    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.



375
376
377
378
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 375

class SpeakerDiarizationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_speaker_count::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



375
376
377
378
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 375

class SpeakerDiarizationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#min_speaker_count::Integer

Returns 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.

Returns:

  • (::Integer)

    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.



375
376
377
378
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 375

class SpeakerDiarizationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#speaker_tag::Integer (readonly)

Returns Output only. Unused.

Returns:

  • (::Integer)

    Output only. Unused.



375
376
377
378
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 375

class SpeakerDiarizationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end