RecognitionModel enum

Which model to select for the given request. Select the model best suited to your domain to get best results. If a model is not explicitly specified, then we auto-select a model based on the parameters in the RecognitionConfig. For pricing visit this page https://cloud.google.com/speech-to-text/pricing

Inheritance
Available extensions

Values

latest_long → const RecognitionModel

Best for long form content like media or conversation.

latest_short → const RecognitionModel

Best for short form content like commands or single shot directed speech.

Best for short queries such as voice commands or voice search.

phone_call → const RecognitionModel

Best for audio that originated from a phone call (typically recorded at an 8khz sampling rate).

video → const RecognitionModel

Best for audio that originated from video or includes multiple speakers. Ideally the audio is recorded at a 16khz or greater sampling rate. This is a premium model that costs more than the standard rate.

basic → const RecognitionModel

Best for audio that is not one of the specific audio models. For example, long-form audio. Ideally the audio is high-fidelity, recorded at a 16khz or greater sampling rate.

medical_conversation → const RecognitionModel

Best for audio that originated from a conversation between a medical provider and patient.

medical_dictation → const RecognitionModel

Best for audio that originated from dictation notes by a medical provider.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<RecognitionModel>
A constant List of the values in this enum, in order of their declaration.