Class RecognitionConfig (2.19.0)

Stay organized with collections Save and categorize content based on your preferences.
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:


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