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

Function is_sentence_break

src/framework/text/chunking.cpp:47–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 return token.size() == 1 && std::isspace(static_cast<unsigned char>(token.front())) != 0;
46}
47
48bool is_ascii_line_break(std::string_view token) noexcept {
49 return token == "\n" || token == "\r";
50}
51
52bool is_horizontal_ascii_space(std::string_view token) noexcept {
53 return token == " " || token == "\t" || token == "\f" || token == "\v";

Callers 2

split_word_rangesFunction · 0.85
split_tag_aware_unitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected