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_label 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
478 479 480 481 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 478 class SpeakerDiarizationConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#max_speaker_count ⇒ ::Integer
478 479 480 481 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 478 class SpeakerDiarizationConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_speaker_count ⇒ ::Integer
478 479 480 481 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 478 class SpeakerDiarizationConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#speaker_tag ⇒ ::Integer (readonly)
Deprecated.
This field is deprecated and may be removed in the next major version update.
Returns Output only. Unused.
478 479 480 481 |
# File 'proto_docs/google/cloud/speech/v1p1beta1/cloud_speech.rb', line 478 class SpeakerDiarizationConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |