Class: Google::Cloud::Speech::V2::RecognitionConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V2::RecognitionConfig
- 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
-
#adaptation ⇒ ::Google::Cloud::Speech::V2::SpeechAdaptation
Speech adaptation context that weights recognizer predictions for specific words and phrases.
-
#auto_decoding_config ⇒ ::Google::Cloud::Speech::V2::AutoDetectDecodingConfig
Automatically detect decoding parameters.
-
#explicit_decoding_config ⇒ ::Google::Cloud::Speech::V2::ExplicitDecodingConfig
Explicitly specified decoding parameters.
-
#features ⇒ ::Google::Cloud::Speech::V2::RecognitionFeatures
Speech recognition features to enable.
Instance Attribute Details
#adaptation ⇒ ::Google::Cloud::Speech::V2::SpeechAdaptation
Returns Speech adaptation context that weights recognizer predictions for specific words and phrases.
569 570 571 572 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 569 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.
569 570 571 572 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 569 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).
569 570 571 572 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 569 class RecognitionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#features ⇒ ::Google::Cloud::Speech::V2::RecognitionFeatures
Returns Speech recognition features to enable.
569 570 571 572 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 569 class RecognitionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |