MCPcopy Create free account
hub / github.com/creatale/node-dv / LoadUniversal

Method LoadUniversal

deps/tesseract/ccutil/ambigs.cpp:67–72  ·  view source on GitHub ↗

Loads the universal ambigs that are useful for any language.

Source from the content-addressed store, hash-verified

65
66// Loads the universal ambigs that are useful for any language.
67void UnicharAmbigs::LoadUniversal(const UNICHARSET& encoder_set,
68 UNICHARSET* unicharset) {
69 TFile file;
70 if (!file.Open(kUniversalAmbigsFile, ksizeofUniversalAmbigsFile)) return;
71 LoadUnicharAmbigs(encoder_set, &file, 0, false, unicharset);
72}
73
74void UnicharAmbigs::LoadUnicharAmbigs(const UNICHARSET& encoder_set,
75 TFile *ambig_file,

Callers 1

Calls 1

OpenMethod · 0.45

Tested by

no test coverage detected