Class RecognitionConfig (2.17.2)

RecognitionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
auto_decoding_config google.cloud.speech_v2.types.AutoDetectDecodingConfig
Automatically detect decoding parameters. Preferred for supported formats. This field is a member of oneof_ decoding_config.
explicit_decoding_config google.cloud.speech_v2.types.ExplicitDecodingConfig
Explicitly specified decoding parameters. Required if using headerless PCM audio (linear16, mulaw, alaw). This field is a member of oneof_ decoding_config.
features google.cloud.speech_v2.types.RecognitionFeatures
Speech recognition features to enable.
adaptation google.cloud.speech_v2.types.SpeechAdaptation
Speech adaptation context that weights recognizer predictions for specific words and phrases.