Home
last modified time | relevance | path

Searched refs:raw_choice (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/tesseract/tesseract-5.0.0/src/ccstruct/
H A Dpageres.cpp231 if (source.raw_choice != nullptr) { in operator =()
232 raw_choice = new WERD_CHOICE(*source.raw_choice); in operator =()
234 raw_choice = nullptr; in operator =()
427 if (raw_choice != nullptr) { in InsertSeam()
487 if (raw_choice != nullptr) { in DebugWordChoices()
576 int end_raw_chunk = raw_choice->state(0); in ComputeAdaptionThresholds()
614 if (raw_choice == nullptr || word_choice->rating() < raw_choice->rating()) { in LogNewRawChoice()
615 delete raw_choice; in LogNewRawChoice()
810 MovePointerData(&raw_choice, &word->raw_choice); in ConsumeWordResults()
1169 delete raw_choice; in ClearWordChoices()
[all …]
H A Dpageres.h244 WERD_CHOICE *raw_choice = nullptr; // Owned pointer. variable
377 if (blob_index >= raw_choice->length()) { in RawUTF8()
380 UNICHAR_ID id = raw_choice->unichar_id(blob_index); in RawUTF8()
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/
H A Dtfacepp.cpp76 ASSERT_HOST((word->best_choice == nullptr) == (word->raw_choice == nullptr)); in recog_word()
243 *word->raw_choice += *word2->raw_choice; in join_words()
H A Dcontrol.cpp1269 if (wd.word->raw_choice != nullptr) { in ClassifyBlobAsWord()
1271 wd.word->raw_choice->min_x_height(), wd.word->raw_choice->max_x_height()); in ClassifyBlobAsWord()
1278 if (wd.word->raw_choice != nullptr) { // This probably shouldn't happen, but... in ClassifyBlobAsWord()
1279 cert = wd.word->raw_choice->certainty(); in ClassifyBlobAsWord()
1280 float rat = wd.word->raw_choice->rating(); in ClassifyBlobAsWord()
1282 best_str = wd.word->raw_choice->unichar_string(); in ClassifyBlobAsWord()
1617 ASSERT_HOST(word->raw_choice != nullptr); in classify_word_pass1()
/dports/graphics/tesseract/tesseract-5.0.0/src/wordrec/
H A Dlanguage_model.cpp1283 if (word_res->raw_choice == nullptr || word->rating() < word_res->raw_choice->rating()) { in UpdateBestChoice()