Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BYVoid/OpenCC
/ Segment
Method
Segment
src/MaxMatchSegmentation.cpp:78–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
76
: dict(_dict), prefixMatch(new PrefixMatch(_dict)) {}
77
78
SegmentsPtr MaxMatchSegmentation::Segment(std::string_view text) const {
79
return SegmentText(prefixMatch, text);
80
}
Callers
nothing calls this directly
Calls
1
SegmentText
Function · 0.85
Tested by
no test coverage detected