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

Method TextDict

src/TextDict.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36TextDict::TextDict(const LexiconPtr& _lexicon)
37 : maxLength(GetKeyMaxLength(_lexicon)), lexicon(_lexicon) {
38 assert(lexicon->IsSorted());
39 assert(lexicon->IsUnique());
40}
41
42TextDict::~TextDict() {}
43

Callers

nothing calls this directly

Calls 3

IsSortedMethod · 0.80
IsUniqueMethod · 0.80
GetKeyMaxLengthFunction · 0.70

Tested by

no test coverage detected