MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / CodePointLength

Function CodePointLength

plugins/jieba/src/JiebaSegmentationPlugin.cpp:177–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177uint32_t CodePointLength(const std::string& text) {
178 return static_cast<uint32_t>(opencc::UTF8Util::Length(text.c_str()));
179}
180
181std::string ResolveResourcePath(const std::string& rawPath,
182 const std::string& configDir) {

Callers 1

SegmentWithJiebaFunction · 0.85

Calls 1

LengthFunction · 0.50

Tested by

no test coverage detected