whisper_lang_id method

int whisper_lang_id(
  1. Pointer<Char> lang
)

Return the id of the specified language, returns -1 if not found Examples: "de" -> 2 "german" -> 2

Implementation

int whisper_lang_id(
  ffi.Pointer<ffi.Char> lang,
) {
  return _whisper_lang_id(
    lang,
  );
}