create static method
GetTextFromWavFile
create({
- String? special_type,
- bool? is_translate,
- int? threads,
- bool? is_verbose,
- String? language,
- bool? is_special_tokens,
- bool? is_no_timestamps,
- String? audio,
- String? model,
- int n_processors = 1,
- bool split_on_word = false,
- bool no_fallback = false,
- bool diarize = false,
- bool speed_up = false,
override
return original data json
Implementation
static GetTextFromWavFile create({
String? special_type,
bool? is_translate,
int? threads,
bool? is_verbose,
String? language,
bool? is_special_tokens,
bool? is_no_timestamps,
String? audio,
String? model,
int n_processors = 1,
bool split_on_word = false,
bool no_fallback = false,
bool diarize = false,
bool speed_up = false,
}) {
GetTextFromWavFile getTextFromWavFile = GetTextFromWavFile({
"@type": special_type,
"is_translate": is_translate,
"threads": threads,
"is_verbose": is_verbose,
"language": language,
"is_special_tokens": is_special_tokens,
"is_no_timestamps": is_no_timestamps,
"audio": audio,
"model": model,
"n_processors": n_processors,
"split_on_word": split_on_word,
"no_fallback": no_fallback,
"diarize": diarize,
"speed_up": speed_up,
});
return getTextFromWavFile;
}