Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- audio_ctx - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Overwrite the audio context size (0 = use default).
B
- beam_search - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Beam search decoding parameters.
- beam_size - Variable in class io.github.ggerganov.whispercpp.params.BeamSearchParams
-
ref: ...
- BeamSearchParams - Class in io.github.ggerganov.whispercpp.params
- BeamSearchParams() - Constructor for class io.github.ggerganov.whispercpp.params.BeamSearchParams
- benchGgmlMulMat(int) - Method in class io.github.ggerganov.whispercpp.WhisperCpp
- benchMemcpy(int) - Method in class io.github.ggerganov.whispercpp.WhisperCpp
- best_of - Variable in class io.github.ggerganov.whispercpp.params.GreedyParams
C
- callback(Pointer, Pointer, int, Pointer) - Method in interface io.github.ggerganov.whispercpp.callbacks.WhisperNewSegmentCallback
-
Callback method for the text segment.
- callback(Pointer, Pointer, int, Pointer) - Method in interface io.github.ggerganov.whispercpp.callbacks.WhisperProgressCallback
-
Callback method for progress updates.
- callback(Pointer, Pointer, Pointer) - Method in interface io.github.ggerganov.whispercpp.callbacks.WhisperEncoderBeginCallback
-
Callback method before the encoder starts.
- callback(Pointer, Pointer, WhisperTokenData[], int, float[], Pointer) - Method in interface io.github.ggerganov.whispercpp.callbacks.WhisperLogitsFilterCallback
-
Callback method to filter logits.
- CBool - Class in io.github.ggerganov.whispercpp.params
- CBool() - Constructor for class io.github.ggerganov.whispercpp.params.CBool
- CBool(long) - Constructor for class io.github.ggerganov.whispercpp.params.CBool
- close - Variable in class io.github.ggerganov.whispercpp.model.WhisperModelLoader
- close() - Method in class io.github.ggerganov.whispercpp.WhisperCpp
- CloseFunction() - Constructor for class io.github.ggerganov.whispercpp.model.WhisperModelLoader.CloseFunction
- context - Variable in class io.github.ggerganov.whispercpp.model.WhisperModelLoader
D
- detect_language - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to indicate whether to detect language automatically.
- detectLanguage(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to indicate whether to detect language automatically.
- duration_ms - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Audio duration to process in milliseconds.
E
- EModel - Enum Class in io.github.ggerganov.whispercpp.model
- enableContext(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to indicate whether to use past transcription (if any) as an initial prompt for the decoder.
- encoder_begin_callback - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Callback each time before the encoder starts.
- encoder_begin_callback_user_data - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
User data for the encoder_begin_callback.
- entropy_thold - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Entropy threshold (similar to OpenAI's "compression_ratio_threshold").
- eof - Variable in class io.github.ggerganov.whispercpp.model.WhisperModelLoader
- EOFFunction() - Constructor for class io.github.ggerganov.whispercpp.model.WhisperModelLoader.EOFFunction
F
- FALSE - Static variable in class io.github.ggerganov.whispercpp.params.CBool
- fullTranscribe(WhisperFullParams, float[]) - Method in class io.github.ggerganov.whispercpp.WhisperCpp
-
Run the entire model: PCM -> log mel spectrogram -> encoder -> decoder -> text.
G
- getAsBoolean() - Method in class io.github.ggerganov.whispercpp.params.CBool
- getFieldOrder() - Method in class io.github.ggerganov.whispercpp.model.WhisperTokenData
- getFieldOrder() - Method in class io.github.ggerganov.whispercpp.params.BeamSearchParams
- getFieldOrder() - Method in class io.github.ggerganov.whispercpp.params.GreedyParams
- getFieldOrder() - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- getFullDefaultParams(WhisperSamplingStrategy) - Method in class io.github.ggerganov.whispercpp.WhisperCpp
-
Provides default params which can be used with `whisper_full()` etc.
- getSystemInfo() - Method in class io.github.ggerganov.whispercpp.WhisperCpp
- GGML_TYPE_COUNT - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_F16 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_F32 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_I16 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_I32 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_I8 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_Q4_0 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_Q4_1 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_Q5_0 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_Q5_1 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_Q8_0 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GGML_TYPE_Q8_1 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- GgmlTensor - Class in io.github.ggerganov.whispercpp.ggml
- GgmlTensor() - Constructor for class io.github.ggerganov.whispercpp.ggml.GgmlTensor
- GgmlType - Enum Class in io.github.ggerganov.whispercpp.ggml
- greedy - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Greedy decoding parameters.
- GreedyParams - Class in io.github.ggerganov.whispercpp.params
- GreedyParams() - Constructor for class io.github.ggerganov.whispercpp.params.GreedyParams
I
- id - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Token ID.
- initContext(String) - Method in class io.github.ggerganov.whispercpp.WhisperCpp
- initial_prompt - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Tokens to provide to the whisper decoder as an initial prompt.
- instance - Static variable in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- invoke(Pointer) - Method in interface io.github.ggerganov.whispercpp.model.WhisperModelLoader.CloseCallback
- invoke(Pointer) - Method in class io.github.ggerganov.whispercpp.model.WhisperModelLoader.CloseFunction
- invoke(Pointer) - Method in interface io.github.ggerganov.whispercpp.model.WhisperModelLoader.EOFCallback
- invoke(Pointer) - Method in class io.github.ggerganov.whispercpp.model.WhisperModelLoader.EOFFunction
- invoke(Pointer, Pointer, int) - Method in interface io.github.ggerganov.whispercpp.model.WhisperModelLoader.ReadCallback
- invoke(Pointer, Pointer, int) - Method in class io.github.ggerganov.whispercpp.model.WhisperModelLoader.ReadFunction
- io.github.ggerganov.whispercpp - package io.github.ggerganov.whispercpp
- io.github.ggerganov.whispercpp.callbacks - package io.github.ggerganov.whispercpp.callbacks
- io.github.ggerganov.whispercpp.ggml - package io.github.ggerganov.whispercpp.ggml
- io.github.ggerganov.whispercpp.model - package io.github.ggerganov.whispercpp.model
- io.github.ggerganov.whispercpp.params - package io.github.ggerganov.whispercpp.params
L
- language - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Language for auto-detection.
- length_penalty - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Length penalty.
- logits_filter_callback - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Callback by each decoder to filter obtained logits.
- logits_filter_callback_user_data - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
User data for the logits_filter_callback.
- logprob_thold - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Log probability threshold.
M
- max_initial_ts - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Maximum initial timestamp.
- max_len - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Maximum segment length in characters.
- max_tokens - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Maximum tokens per segment (0, default = no limit)
- model - Variable in class io.github.ggerganov.whispercpp.WhisperContext
- MODEL_BASE - Enum constant in enum class io.github.ggerganov.whispercpp.model.EModel
- MODEL_LARGE - Enum constant in enum class io.github.ggerganov.whispercpp.model.EModel
- MODEL_MEDIUM - Enum constant in enum class io.github.ggerganov.whispercpp.model.EModel
- MODEL_SMALL - Enum constant in enum class io.github.ggerganov.whispercpp.model.EModel
- MODEL_TINY - Enum constant in enum class io.github.ggerganov.whispercpp.model.EModel
- MODEL_UNKNOWN - Enum constant in enum class io.github.ggerganov.whispercpp.model.EModel
- modelDir() - Method in class io.github.ggerganov.whispercpp.WhisperCpp
N
- n_max_text_ctx - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Maximum tokens to use from past text as a prompt for the decoder.
- n_threads - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Number of threads.
- new_segment_callback - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Callback for every newly generated text segment.
- new_segment_callback_user_data - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
User data for the new_segment_callback.
- no_context - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to indicate whether to use past transcription (if any) as an initial prompt for the decoder.
- no_speech_thold - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
No speech threshold.
O
- offset_ms - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Start offset in milliseconds.
P
- p - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Probability of the token.
- patience - Variable in class io.github.ggerganov.whispercpp.params.BeamSearchParams
-
ref: ...
- plog - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Log probability of the token.
- print_progress - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print progress information.
- print_realtime - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print results from within whisper.cpp (avoid it, use callback instead).
- print_special - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print special tokens (e.g., <SOT>, <EOT>, <BEG>, etc.).
- print_timestamps - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print timestamps for each text segment when printing realtime.
- printProgress(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print progress information.
- printRealtime(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print results from within whisper.cpp (avoid it, use callback instead).
- printSpecial(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print special tokens (e.g., <SOT>, <EOT>, <BEG>, etc.).
- printTimestamps(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to print timestamps for each text segment when printing realtime.
- progress_callback - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Callback on each progress update.
- progress_callback_user_data - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
User data for the progress_callback.
- prompt_n_tokens - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Number of prompt tokens.
- prompt_tokens - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Prompt tokens.
- pt - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Probability of the timestamp token.
- ptsum - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Sum of probabilities of all timestamp tokens.
R
- read - Variable in class io.github.ggerganov.whispercpp.model.WhisperModelLoader
- ReadFunction() - Constructor for class io.github.ggerganov.whispercpp.model.WhisperModelLoader.ReadFunction
- REMOVED_GGML_TYPE_Q4_2 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
- REMOVED_GGML_TYPE_Q4_3 - Enum constant in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
S
- setBeamSize(int) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- setBeamSizeAndPatience(int, float) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- setBestOf(int) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- setEncoderBeginCallbackeginCallbackCallback(WhisperEncoderBeginCallback) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- setLogitsFilterCallback(WhisperLogitsFilterCallback) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- setNewSegmentCallback(WhisperNewSegmentCallback) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- setProgressCallback(WhisperProgressCallback) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- setPromptTokens(int[]) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- single_segment - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to force single segment output (useful for streaming).
- singleSegment(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to force single segment output (useful for streaming).
- SIZE - Static variable in class io.github.ggerganov.whispercpp.params.CBool
- speed_up - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to speed up the audio by 2x using Phase Vocoder.
- speedUp(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to speed up the audio by 2x using Phase Vocoder.
- split_on_word - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to split on word rather than on token (when used with max_len).
- splitOnWord(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to split on word rather than on token (when used with max_len).
- state - Variable in class io.github.ggerganov.whispercpp.WhisperContext
- strategy - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Sampling strategy for whisper_full() function.
- suppress_blank - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to suppress blank tokens.
- suppress_non_speech_tokens - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to suppress non-speech tokens.
- suppressBlanks(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
- suppressNonSpeechTokens(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Flag to suppress non-speech tokens.
T
- t0 - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Start time of the token (token-level timestamp data).
- t1 - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
End time of the token (token-level timestamp data).
- tdrz_enable - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Enable tinydiarize (default = false)
- tdrzEnable(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Enable tinydiarize (default = false)
- temperature - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Initial decoding temperature.
- temperature_inc - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Temperature increment.
- thold_pt - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
[EXPERIMENTAL] Timestamp token probability threshold (~0.01).
- thold_ptsum - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
[EXPERIMENTAL] Timestamp token sum probability threshold (~0.01).
- tid - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Forced timestamp token ID.
- token_timestamps - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
[EXPERIMENTAL] Flag to enable token-level timestamps.
- tokenTimestamps(boolean) - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
[EXPERIMENTAL] Flag to enable token-level timestamps.
- toString() - Method in class io.github.ggerganov.whispercpp.params.CBool
- transcribeMode() - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
The compliment of translateMode()
- translate - Variable in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
Translate flag.
- translateMode() - Method in class io.github.ggerganov.whispercpp.params.WhisperFullParams
-
The compliment of transcribeMode()
- TRUE - Static variable in class io.github.ggerganov.whispercpp.params.CBool
V
- valueOf(String) - Static method in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.ggerganov.whispercpp.model.EModel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.ggerganov.whispercpp.params.WhisperSamplingStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.ggerganov.whispercpp.ggml.GgmlType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.ggerganov.whispercpp.model.EModel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.ggerganov.whispercpp.params.WhisperSamplingStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vlen - Variable in class io.github.ggerganov.whispercpp.model.WhisperTokenData
-
Voice length of the token.
- vocab - Variable in class io.github.ggerganov.whispercpp.WhisperContext
W
- whisper_bench_ggml_mul_mat(int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Benchmark function for ggml_mul_mat.
- whisper_bench_ggml_mul_mat_str(int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Benchmark function for ggml_mul_mat as a string.
- whisper_bench_memcpy(int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Benchmark function for memcpy.
- whisper_bench_memcpy_str(int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Benchmark function for memcpy as a string.
- whisper_decode(Pointer, Pointer, int, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Run the Whisper decoder to obtain the logits and probabilities for the next token.
- whisper_decode_with_state(Pointer, Pointer, Pointer, int, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_encode(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Run the Whisper encoder on the log mel spectrogram stored inside the default state in the provided whisper context.
- whisper_encode_with_state(Pointer, Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_free(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Free all allocated memory associated with the Whisper context.
- whisper_free_params(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_free_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Free all allocated memory associated with the Whisper state.
- whisper_full(Pointer, WhisperFullParams, float[], int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Run the entire model: PCM -> log mel spectrogram -> encoder -> decoder -> text Not thread safe for same context Uses the specified decoding strategy to obtain the text.
- whisper_full_default_params_by_ref(int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Provides default params which can be used with `whisper_full()` etc.
- whisper_full_get_segment_t0(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the start time of the specified segment.
- whisper_full_get_segment_t0_from_state(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the start time of the specified segment from the state.
- whisper_full_get_segment_t1(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the end time of the specified segment.
- whisper_full_get_segment_t1_from_state(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the end time of the specified segment from the state.
- whisper_full_get_segment_text(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the text of the specified segment.
- whisper_full_get_segment_text_from_state(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the text of the specified segment from the state.
- whisper_full_get_token_data(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get token data for the specified token in the specified segment.
- whisper_full_get_token_data_from_state(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get token data for the specified token in the specified segment from the state.
- whisper_full_get_token_id(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the token ID of the specified token in the specified segment.
- whisper_full_get_token_id_from_state(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the token ID of the specified token in the specified segment from the state.
- whisper_full_get_token_p(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the probability of the specified token in the specified segment.
- whisper_full_get_token_p_from_state(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the probability of the specified token in the specified segment from the state.
- whisper_full_get_token_text(Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the token text of the specified token in the specified segment.
- whisper_full_get_token_text_from_state(Pointer, Pointer, int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the token text of the specified token in the specified segment from the state.
- whisper_full_lang_id(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Language id associated with the context's default state.
- whisper_full_lang_id_from_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Language id associated with the provided state
- whisper_full_n_segments(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Number of generated text segments.
- whisper_full_n_segments_from_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_full_n_tokens(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the number of tokens in the specified segment.
- whisper_full_n_tokens_from_state(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Get the number of tokens in the specified segment from the state.
- whisper_full_parallel(Pointer, WhisperFullParams, float[], int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_full_with_state(Pointer, Pointer, WhisperFullParams, float[], int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_get_logits(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Token logits obtained from the last call to whisper_decode().
- whisper_get_logits_from_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_init(WhisperModelLoader) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Allocate (almost) all memory needed for the model using a model loader.
- whisper_init_from_buffer(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Allocate (almost) all memory needed for the model by loading from a buffer.
- whisper_init_from_buffer_no_state(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Allocate (almost) all memory needed for the model by loading from a buffer without allocating the state.
- whisper_init_from_file(String) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Allocate (almost) all memory needed for the model by loading from a file.
- whisper_init_from_file_no_state(String) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Allocate (almost) all memory needed for the model by loading from a file without allocating the state.
- whisper_init_no_state(WhisperModelLoader) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Allocate (almost) all memory needed for the model using a model loader without allocating the state.
- whisper_init_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Allocate memory for the Whisper state.
- whisper_is_multilingual(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_lang_auto_detect(Pointer, int, int, float[]) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Use mel data at offset_ms to try and auto-detect the spoken language.
- whisper_lang_auto_detect_with_state(Pointer, Pointer, int, int, float[]) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_lang_id(String) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_lang_max_id() - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Largest language id (i.e.
- whisper_lang_str(int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_ftype(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_audio_ctx(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_audio_head(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_audio_layer(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_audio_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_mels(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_text_ctx(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_text_head(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_text_layer(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_text_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_n_vocab(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_type(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_model_type_readable(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_n_audio_ctx(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_n_len(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_n_len_from_state(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_n_text_ctx(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_n_vocab(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_pcm_to_mel(Pointer, float[], int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Convert RAW PCM audio to log mel spectrogram.
- whisper_pcm_to_mel_phase_vocoder(Pointer, float[], int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Convert RAW PCM audio to log mel spectrogram but applies a Phase Vocoder to speed up the audio x2.
- whisper_pcm_to_mel_phase_vocoder_with_state(Pointer, Pointer, float[], int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_pcm_to_mel_with_state(Pointer, Pointer, float[], int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_print_system_info() - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_print_timings(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_reset_timings(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- WHISPER_SAMPLING_BEAM_SEARCH - Enum constant in enum class io.github.ggerganov.whispercpp.params.WhisperSamplingStrategy
-
similar to OpenAI's BeamSearchDecoder
- WHISPER_SAMPLING_GREEDY - Enum constant in enum class io.github.ggerganov.whispercpp.params.WhisperSamplingStrategy
-
similar to OpenAI's GreedyDecoder
- whisper_set_mel(Pointer, float[], int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
This can be used to set a custom log mel spectrogram inside the default state of the provided whisper context.
- whisper_set_mel_with_state(Pointer, Pointer, float[], int, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_beg(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_eot(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_lang(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_not(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_prev(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_solm(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_sot(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_to_str(Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_transcribe(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_token_translate(Pointer) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
- whisper_tokenize(Pointer, String, Pointer, int) - Method in interface io.github.ggerganov.whispercpp.WhisperCppJnaLibrary
-
Convert the provided text into tokens.
- WhisperContext - Class in io.github.ggerganov.whispercpp
- WhisperContext() - Constructor for class io.github.ggerganov.whispercpp.WhisperContext
- WhisperCpp - Class in io.github.ggerganov.whispercpp
-
Before calling most methods, you must call `initContext(modelPath)` to initialise the `ctx` Pointer.
- WhisperCpp() - Constructor for class io.github.ggerganov.whispercpp.WhisperCpp
- WhisperCppJnaLibrary - Interface in io.github.ggerganov.whispercpp
- WhisperEncoderBeginCallback - Interface in io.github.ggerganov.whispercpp.callbacks
-
Callback before the encoder starts.
- WhisperFilters - Class in io.github.ggerganov.whispercpp.params
- WhisperFilters() - Constructor for class io.github.ggerganov.whispercpp.params.WhisperFilters
- WhisperFullParams - Class in io.github.ggerganov.whispercpp.params
-
Parameters for the whisper_full() function.
- WhisperFullParams(Pointer) - Constructor for class io.github.ggerganov.whispercpp.params.WhisperFullParams
- WhisperHParams - Class in io.github.ggerganov.whispercpp.params
- WhisperHParams() - Constructor for class io.github.ggerganov.whispercpp.params.WhisperHParams
- WhisperLogitsFilterCallback - Interface in io.github.ggerganov.whispercpp.callbacks
-
Callback to filter logits.
- WhisperModel - Class in io.github.ggerganov.whispercpp
- WhisperModel() - Constructor for class io.github.ggerganov.whispercpp.WhisperModel
- WhisperModelLoader - Class in io.github.ggerganov.whispercpp.model
- WhisperModelLoader() - Constructor for class io.github.ggerganov.whispercpp.model.WhisperModelLoader
- WhisperModelLoader.CloseCallback - Interface in io.github.ggerganov.whispercpp.model
- WhisperModelLoader.CloseFunction - Class in io.github.ggerganov.whispercpp.model
- WhisperModelLoader.EOFCallback - Interface in io.github.ggerganov.whispercpp.model
- WhisperModelLoader.EOFFunction - Class in io.github.ggerganov.whispercpp.model
- WhisperModelLoader.ReadCallback - Interface in io.github.ggerganov.whispercpp.model
- WhisperModelLoader.ReadFunction - Class in io.github.ggerganov.whispercpp.model
- WhisperNewSegmentCallback - Interface in io.github.ggerganov.whispercpp.callbacks
-
Callback for the text segment.
- WhisperProgressCallback - Interface in io.github.ggerganov.whispercpp.callbacks
-
Callback for progress updates.
- WhisperSamplingStrategy - Enum Class in io.github.ggerganov.whispercpp.params
-
Available sampling strategies
- WhisperState - Class in io.github.ggerganov.whispercpp.model
- WhisperState() - Constructor for class io.github.ggerganov.whispercpp.model.WhisperState
- WhisperTokenData - Class in io.github.ggerganov.whispercpp.model
-
Structure representing token data.
- WhisperTokenData() - Constructor for class io.github.ggerganov.whispercpp.model.WhisperTokenData
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form