RecognitionConfig class
Provides information to the Recognizer that specifies how to process the recognition request.
Constructors
-
RecognitionConfig({SpeechAdaptation? adaptation, AutoDetectDecodingConfig? autoDecodingConfig, ExplicitDecodingConfig? explicitDecodingConfig, RecognitionFeatures? features, List<
String> ? languageCodes, String? model, TranscriptNormalization? transcriptNormalization, TranslationConfig? translationConfig}) - RecognitionConfig.fromJson(Map json_)
Properties
- adaptation ↔ SpeechAdaptation?
-
Speech adaptation context that weights recognizer predictions for specific
words and phrases.
getter/setter pair
- autoDecodingConfig ↔ AutoDetectDecodingConfig?
-
Automatically detect decoding parameters.
getter/setter pair
- explicitDecodingConfig ↔ ExplicitDecodingConfig?
-
Explicitly specified decoding parameters.
getter/setter pair
- features ↔ RecognitionFeatures?
-
Speech recognition features to enable.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
languageCodes
↔ List<
String> ? -
The language of the supplied audio as a
[BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag.
getter/setter pair
- model ↔ String?
-
Which model to use for recognition requests.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transcriptNormalization ↔ TranscriptNormalization?
-
Use transcription normalization to automatically replace parts of the
transcript with phrases of your choosing.
getter/setter pair
- translationConfig ↔ TranslationConfig?
-
Optional configuration used to automatically run translation on the given
audio to the desired language for supported models.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited