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

Method Initialize

deps/tesseract/classify/adaptmatch.cpp:93–97  ·  view source on GitHub ↗

Initializes data members to the default values. Sets the initial rating of each class to be the worst possible rating (1.0).

Source from the content-addressed store, hash-verified

91 /// Initializes data members to the default values. Sets the initial
92 /// rating of each class to be the worst possible rating (1.0).
93 inline void Initialize() {
94 BlobLength = MAX_INT32;
95 HasNonfragment = false;
96 ComputeBest();
97 }
98 // Computes best_unichar_id, best_match_index and best_rating.
99 void ComputeBest() {
100 best_unichar_id = INVALID_UNICHAR_ID;

Callers 3

AdaptiveClassifierMethod · 0.45
GetAmbiguitiesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected