Uses of Class
io.github.givimad.whisperjni.WhisperContext
Packages that use WhisperContext
-
Uses of WhisperContext in io.github.givimad.whisperjni
Methods in io.github.givimad.whisperjni that return WhisperContextModifier and TypeMethodDescriptionCreates a new whisper context.WhisperJNI.init(Path model, WhisperContextParams params) Creates a new whisper context.WhisperJNI.initNoState(Path model) Creates a new whisper context without state.WhisperJNI.initNoState(Path model, WhisperContextParams params) Creates a new whisper context without state.Methods in io.github.givimad.whisperjni with parameters of type WhisperContextModifier and TypeMethodDescriptionvoidWhisperJNI.free(WhisperContext context) Release context memory in native implementation.intWhisperJNI.full(WhisperContext context, WhisperFullParams params, float[] samples, int numSamples) Run whisper.cpp full audio transcription.WhisperJNI.fullGetSegmentText(WhisperContext context, int index) Gets text segment by index.longWhisperJNI.fullGetSegmentTimestamp0(WhisperContext context, int index) Gets start timestamp of text segment by index.longWhisperJNI.fullGetSegmentTimestamp1(WhisperContext context, int index) Gets end timestamp of text segment by index.intWhisperJNI.fullNSegments(WhisperContext context) Gets the available number of text segments.intWhisperJNI.fullWithState(WhisperContext context, WhisperState state, WhisperFullParams params, float[] samples, int numSamples) Run whisper.cpp full audio transcription.voidWhisperJNI.initOpenVINO(WhisperContext context, String device) Initializes OpenVino encoder.WhisperJNI.initState(WhisperContext context) Creates a new whisper.cpp state for the provided context.booleanWhisperJNI.isMultilingual(WhisperContext context) Is multilingual.Constructors in io.github.givimad.whisperjni with parameters of type WhisperContextModifierConstructorDescriptionprotectedWhisperState(WhisperJNI whisper, int ref, WhisperContext context) The internal constructor forWhisperState