MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / unit_range_codepoints

Function unit_range_codepoints

src/framework/text/chunking.cpp:190–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 span_pos += 1;
189 continue;
190 }
191 const size_t word_start = span_pos;
192 size_t word_end = span_pos + 1;
193 while (word_end < spans.size() &&
194 !is_ascii_space(spans[word_end].text) &&
195 !is_cjk_punctuation_delimiter(spans[word_end].text)) {
196 ++word_end;
197 }
198 const auto last = spans[word_end - 1].text;

Callers 2

append_piece_chunksFunction · 0.85
split_tag_aware_bodyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected