1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
crates/cre8-app-voice/src/telephony/chunker.rs
Items
struct ChunkerConfig impl Default for ChunkerConfig struct TextChunker impl TextChunker const ABBREVIATIONS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 18 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| TextChunker::newsrc/telephony/chunker.rs:46 | method | 6 | 1 | 3 | 0 | 2.9 | |
| ChunkerConfig::defaultsrc/telephony/chunker.rs:32 | trait impl | 3 | 1 | 7 | 0 | 2 | |
| chunk_textsrc/telephony/chunker.rs:98 | fn | 6 | 1 | 6 | 1 | 2 | |
| is_abbreviationsrc/telephony/chunker.rs:111 | fn | 14 | 3 | 1 | 0 | 1.4 | |
| floor_char_boundarysrc/telephony/chunker.rs:202 | fn | 6 | 3 | 1 | 0 | 1.4 | |
| TextChunker::drainsrc/telephony/chunker.rs:69 | method | 26 | 10 | 2 | 2 | 1.3 | |
| find_sentence_endsrc/telephony/chunker.rs:129 | fn | 29 | 14 | 1 | 1 | 1.1 | |
| break_withinsrc/telephony/chunker.rs:161 | fn | 40 | 15 | 1 | 1 | 1.1 | |
| TextChunker::emittedsrc/telephony/chunker.rs:65 | method | 3 | 1 | 1 | 0 | 0.6 | |
| TextChunker::pushsrc/telephony/chunker.rs:54 | method | 4 | 1 | 0 | 1 | 0.5 | |
| TextChunker::finishsrc/telephony/chunker.rs:60 | method | 3 | 1 | 0 | 1 | 0.5 | |
| splits_sentences_and_keeps_the_first_chunk_shortsrc/telephony/chunker.rs:214 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| short_sentences_merge_forwardsrc/telephony/chunker.rs:224 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| abbreviations_decimals_and_answerssrc/telephony/chunker.rs:230 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| long_first_sentence_breaks_at_a_clausesrc/telephony/chunker.rs:241 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| unbroken_text_falls_back_to_space_then_characterssrc/telephony/chunker.rs:250 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| streaming_tokens_emit_only_certain_boundariessrc/telephony/chunker.rs:263 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| closing_quotes_stay_with_their_sentencesrc/telephony/chunker.rs:275 | fn | 5 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.