LanguageModelDescription class

Description of a model. You can see the description of all VOSK models at https://alphacephei.com/vosk/models/model-list.json

Constructors

LanguageModelDescription({required String lang, required String langText, required String md5, required String name, required bool obsolete, required int size, required String sizeText, required String type, required String url, required String version})
Create a model description.
LanguageModelDescription.fromJson(Map<String, dynamic> json)
Create a model description from the json data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lang String
Language code of the model, example: 'en-us'.
final
langText String
Textual representation of the lang code, example: 'US English'.
final
md5 String
Hash value of the model file located at url.
final
name String
Model name, example: 'vosk-model-en-us-0.20'.
final
obsolete bool
Whether the model obsolete, example: 'true'.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size of the model file in bytes, example: '744317925'.
final
sizeText String
Textual representation of the model file size, example: '709.8MiB'.
final
type String
Type of the model. 'big' | 'big-lgraph' | 'small'
final
url String
The url of the model file zip, example: 'https://alphacephei.com/vosk/models/vosk-model-en-us-0.20.zip'.
final
version String
The version of the model, example: '0.20'.
final

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