RecognitionModelV2 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.
Values
- long → const RecognitionModelV2
-
Use this model for any kind of long form content such as media or spontaneous speech and conversations.
- short → const RecognitionModelV2
-
Use this model for short utterances that are a few seconds in length. It is useful for trying to capture commands or other single-short directed speech use cases. Consider using this model instead of the command and search model.
- phone_call → const RecognitionModelV2
-
Use this model for short utterances that are a few seconds in length. It is useful for trying to capture commands or other single shot directed speech use cases. When you use this model, the service will stop transcribing audio after the first utterance is detected and completed. With this model, separate recognition per channel is not supported. While multi-channel audio will be accepted by the service, only the first channel will be processed and recognized.
- telephony → const RecognitionModelV2
-
est for audio that originated from a phone call (typically recorded at an 8 kHz sampling rate).
- chirp → const RecognitionModelV2
-
Unified large speech model. Use this model for any use case that doesn't need streaming.
- chirp_telephony → const RecognitionModelV2
-
Universal large Speech Model(USM) fine-tuned for audio that originated from a phone call (typically recorded at an 8 kHz sampling rate).
- medical_dictation → const RecognitionModelV2
-
To transcribe notes dictated by a medical professional. This is a premium model that costs more than the standard rate. For pricing visit this page https://cloud.google.com/speech-to-text/pricing
- medical_conversation → const RecognitionModelV2
-
To transcribe a conversation between a medical professional and a patient. This is a premium model that costs more than the standard rate. For pricing visit this page https://cloud.google.com/speech-to-text/pricing
Properties
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<
RecognitionModelV2> - A constant List of the values in this enum, in order of their declaration.