Skip to content
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

cre8-app-voice · module telephony::chunker · src · 280 lines (220 code, 37 comment) · sha 83b1898e1a82dc7e

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
TextChunker::newsrc/telephony/chunker.rs:46method61302.9
ChunkerConfig::defaultsrc/telephony/chunker.rs:32trait impl31702
chunk_textsrc/telephony/chunker.rs:98fn61612
is_abbreviationsrc/telephony/chunker.rs:111fn143101.4
floor_char_boundarysrc/telephony/chunker.rs:202fn63101.4
TextChunker::drainsrc/telephony/chunker.rs:69method2610221.3
find_sentence_endsrc/telephony/chunker.rs:129fn2914111.1
break_withinsrc/telephony/chunker.rs:161fn4015111.1
TextChunker::emittedsrc/telephony/chunker.rs:65method31100.6
TextChunker::pushsrc/telephony/chunker.rs:54method41010.5
TextChunker::finishsrc/telephony/chunker.rs:60method31010.5
splits_sentences_and_keeps_the_first_chunk_shortsrc/telephony/chunker.rs:214fn81020.5
short_sentences_merge_forwardsrc/telephony/chunker.rs:224fn41020.5
abbreviations_decimals_and_answerssrc/telephony/chunker.rs:230fn91020.5
long_first_sentence_breaks_at_a_clausesrc/telephony/chunker.rs:241fn71020.5
unbroken_text_falls_back_to_space_then_characterssrc/telephony/chunker.rs:250fn111010.5
streaming_tokens_emit_only_certain_boundariessrc/telephony/chunker.rs:263fn101030.5
closing_quotes_stay_with_their_sentencesrc/telephony/chunker.rs:275fn51020.5

Source not readable from this process.