Class: Google::Cloud::Speech::V2::RecognitionConfig

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

Overview

Provides information to the Recognizer that specifies how to process the recognition request.

Instance Attribute Summary collapse

Instance Attribute Details

#adaptation::Google::Cloud::Speech::V2::SpeechAdaptation

Returns Speech adaptation context that weights recognizer predictions for specific words and phrases.

Returns:



608
609
610
611
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 608

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

#auto_decoding_config::Google::Cloud::Speech::V2::AutoDetectDecodingConfig

Returns Automatically detect decoding parameters. Preferred for supported formats.

Returns:



608
609
610
611
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 608

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

#explicit_decoding_config::Google::Cloud::Speech::V2::ExplicitDecodingConfig

Returns Explicitly specified decoding parameters. Required if using headerless PCM audio (linear16, mulaw, alaw).

Returns:



608
609
610
611
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 608

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

#features::Google::Cloud::Speech::V2::RecognitionFeatures

Returns Speech recognition features to enable.

Returns:



608
609
610
611
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 608

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