Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
139
bool LooksLikeOpenccMergedDict(const std::string& path) {
140
return EndsWith(path,
".ocd2"
);
141
}
142
143
bool ParsePositiveDouble(const std::string& text, double* value) {
144
if (text.empty()) {
Callers
1
JiebaSegmentation
Method · 0.85
Calls
1
EndsWith
Function · 0.70
Tested by
no test coverage detected