Interface SpeechRecognitionModel

Describes a model for on-device speech recognition.

interface SpeechRecognitionModel {
    @type: "speechRecognitionModel";
    document: Document;
    language_codes: string[];
    version: number;
}

Properties

@type: "speechRecognitionModel"
document: Document

The file with the model.

language_codes: string[]

IETF language tags of the languages supported by the model.

version: number

The minimum version of the speech recognition library that supports the model.