whisper_tokenize method

int whisper_tokenize(
  1. Pointer<whisper_context> ctx,
  2. Pointer<Char> text,
  3. Pointer<whisper_token> tokens,
  4. int n_max_tokens,
)

General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Implementation

int whisper_tokenize(
  ffi.Pointer<whisper_context> ctx,
  ffi.Pointer<ffi.Char> text,
  ffi.Pointer<whisper_token> tokens,
  int n_max_tokens,
) {
  return _whisper_tokenize(ctx, text, tokens, n_max_tokens);
}