Class: Google::Cloud::Speech::V1p1beta1::SpeakerDiarizationConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V1p1beta1::SpeakerDiarizationConfig
- 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
-
#enable_speaker_diarization ⇒ ::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.
-
#max_speaker_count ⇒ ::Integer
Maximum number of speakers in the conversation.
-
#min_speaker_count ⇒ ::Integer
Minimum number of speakers in the conversation.
-
#speaker_tag ⇒ ::Integer
readonly
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
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.
470 471 472 473 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 470 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.
470 471 472 473 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 470 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.
470 471 472 473 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 470 class SpeakerDiarizationConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speaker_tag ⇒ ::Integer (readonly)
This field is deprecated and may be removed in the next major version update.
Returns Output only. Unused.
470 471 472 473 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 470 class SpeakerDiarizationConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |