| 388 | utf8_codepoint_count(parenthetical->first, "tag-aware leading text chunk tag")); |
| 389 | const int64_t body_budget = std::max<int64_t>(1, codepoint_budget - prefix_codepoints - 1); |
| 390 | auto chunks = split_tag_aware_body(parenthetical->second, body_budget); |
| 391 | for (auto & chunk : chunks) { |
| 392 | chunk = parenthetical->first + " " + chunk; |
| 393 | } |
| 394 | return chunks; |
| 395 | } |
| 396 | |
| 397 | std::vector<std::string> split_text_chunks_japanese( |
no test coverage detected