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

Function is_clause_break

src/framework/text/chunking.cpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool is_horizontal_ascii_space(std::string_view token) noexcept {
53 return token == " " || token == "\t" || token == "\f" || token == "\v";
54}
55
56bool is_sentence_break(std::string_view token) {
57 return token == "." || token == "!" || token == "?" ||
58 token == u8"。" || token == u8"!" || token == u8"?";

Callers 1

split_word_rangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected