Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-voice/src/stt/whisper.rs

cre8-app-voice · module stt::whisper · src · 182 lines (134 code, 26 comment) · sha b2d33b30b7529721

Items

const ENV_BIN const ENV_MODEL struct LocalWhisperProvider impl SttProvider for LocalWhisperProvider

Functions

By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
parse_segment_linesrc/stt/whisper.rs:88fn122111.7
parse_whisper_stdoutsrc/stt/whisper.rs:67fn205311.4
binary_pathsrc/stt/whisper.rs:34fn31210.7
model_pathsrc/stt/whisper.rs:38fn31210.7
binary_respondssrc/stt/whisper.rs:42fn31110.6
temp_audio_pathsrc/stt/whisper.rs:46fn51110.6
extension_forsrc/stt/whisper.rs:52fn106100.6
LocalWhisperProvider::idsrc/stt/whisper.rs:102trait impl31100.6
LocalWhisperProvider::is_availablesrc/stt/whisper.rs:106trait impl62030.5
LocalWhisperProvider::transcribesrc/stt/whisper.rs:113trait impl414060.5
parses_segment_lines_into_timed_textsrc/stt/whisper.rs:161fn91010.5
bare_lines_stay_untimed_textsrc/stt/whisper.rs:172fn101010.5

Source not readable from this process.