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

Function LooksLikeOpenccMergedDict

plugins/jieba/src/JiebaSegmentation.cpp:139–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool LooksLikeOpenccMergedDict(const std::string& path) {
140 return EndsWith(path, ".ocd2");
141}
142
143bool ParsePositiveDouble(const std::string& text, double* value) {
144 if (text.empty()) {

Callers 1

JiebaSegmentationMethod · 0.85

Calls 1

EndsWithFunction · 0.70

Tested by

no test coverage detected