|
tesseract
4.00.00dev
|
#include <blamer.h>
Public Member Functions | |
| BlamerBundle () | |
| BlamerBundle (const BlamerBundle &other) | |
| ~BlamerBundle () | |
| STRING | TruthString () const |
| IncorrectResultReason | incorrect_result_reason () const |
| bool | NoTruth () const |
| bool | HasDebugInfo () const |
| const STRING & | debug () const |
| const STRING & | misadaption_debug () const |
| void | UpdateBestRating (float rating) |
| int | correct_segmentation_length () const |
| bool | MatrixPositionCorrect (int index, const MATRIX_COORD &coord) |
| void | set_best_choice_is_dict_and_top_choice (bool value) |
| const char * | lattice_data () const |
| int | lattice_size () const |
| void | set_lattice_data (const char *data, int size) |
| const tesseract::ParamsTrainingBundle & | params_training_bundle () const |
| void | AddHypothesis (const tesseract::ParamsTrainingHypothesis &hypo) |
| void | SetWordTruth (const UNICHARSET &unicharset, const char *truth_str, const TBOX &word_box) |
| void | SetSymbolTruth (const UNICHARSET &unicharset, const char *char_str, const TBOX &char_box) |
| void | SetRejectedTruth () |
| bool | ChoiceIsCorrect (const WERD_CHOICE *word_choice) const |
| void | ClearResults () |
| void | CopyTruth (const BlamerBundle &other) |
| void | CopyResults (const BlamerBundle &other) |
| const char * | IncorrectReason () const |
| void | FillDebugString (const STRING &msg, const WERD_CHOICE *choice, STRING *debug) |
| void | SetupNormTruthWord (const DENORM &denorm) |
| void | SplitBundle (int word1_right, int word2_left, bool debug, BlamerBundle *bundle1, BlamerBundle *bundle2) const |
| void | JoinBlames (const BlamerBundle &bundle1, const BlamerBundle &bundle2, bool debug) |
| void | BlameClassifier (const UNICHARSET &unicharset, const TBOX &blob_box, const BLOB_CHOICE_LIST &choices, bool debug) |
| void | SetChopperBlame (const WERD_RES *word, bool debug) |
| void | BlameClassifierOrLangModel (const WERD_RES *word, const UNICHARSET &unicharset, bool valid_permuter, bool debug) |
| void | SetupCorrectSegmentation (const TWERD *word, bool debug) |
| bool | GuidedSegsearchNeeded (const WERD_CHOICE *best_choice) const |
| void | InitForSegSearch (const WERD_CHOICE *best_choice, MATRIX *ratings, UNICHAR_ID wildcard_id, bool debug, STRING *debug_str, TessResultCallback2< bool, int, int > *pp_cb) |
| bool | GuidedSegsearchStillGoing () const |
| void | FinishSegSearch (const WERD_CHOICE *best_choice, bool debug, STRING *debug_str) |
| void | SetMisAdaptionDebug (const WERD_CHOICE *best_choice, bool debug) |
Static Public Member Functions | |
| static const char * | IncorrectReasonName (IncorrectResultReason irr) |
| static void | LastChanceBlame (bool debug, WERD_RES *word) |
|
inline |
Definition at line 90 of file blamer.h.
|
inline |
|
inline |
|
inline |
Definition at line 154 of file blamer.h.
| void BlamerBundle::BlameClassifier | ( | const UNICHARSET & | unicharset, |
| const TBOX & | blob_box, | ||
| const BLOB_CHOICE_LIST & | choices, | ||
| bool | debug | ||
| ) |
Definition at line 257 of file blamer.cpp.
| void BlamerBundle::BlameClassifierOrLangModel | ( | const WERD_RES * | word, |
| const UNICHARSET & | unicharset, | ||
| bool | valid_permuter, | ||
| bool | debug | ||
| ) |
Definition at line 369 of file blamer.cpp.
| bool BlamerBundle::ChoiceIsCorrect | ( | const WERD_CHOICE * | word_choice | ) | const |
Definition at line 111 of file blamer.cpp.
|
inline |
Definition at line 173 of file blamer.h.
|
inline |
|
inline |
Definition at line 187 of file blamer.h.
|
inline |
|
inline |
| void BlamerBundle::FillDebugString | ( | const STRING & | msg, |
| const WERD_CHOICE * | choice, | ||
| STRING * | debug | ||
| ) |
Definition at line 123 of file blamer.cpp.
| void BlamerBundle::FinishSegSearch | ( | const WERD_CHOICE * | best_choice, |
| bool | debug, | ||
| STRING * | debug_str | ||
| ) |
Definition at line 506 of file blamer.cpp.
| bool BlamerBundle::GuidedSegsearchNeeded | ( | const WERD_CHOICE * | best_choice | ) | const |
Definition at line 461 of file blamer.cpp.
| bool BlamerBundle::GuidedSegsearchStillGoing | ( | ) | const |
Definition at line 501 of file blamer.cpp.
|
inline |
| const char * BlamerBundle::IncorrectReason | ( | ) | const |
Definition at line 60 of file blamer.cpp.
|
static |
Definition at line 56 of file blamer.cpp.
| void BlamerBundle::InitForSegSearch | ( | const WERD_CHOICE * | best_choice, |
| MATRIX * | ratings, | ||
| UNICHAR_ID | wildcard_id, | ||
| bool | debug, | ||
| STRING * | debug_str, | ||
| TessResultCallback2< bool, int, int > * | pp_cb | ||
| ) |
Definition at line 473 of file blamer.cpp.
| void BlamerBundle::JoinBlames | ( | const BlamerBundle & | bundle1, |
| const BlamerBundle & | bundle2, | ||
| bool | debug | ||
| ) |
Definition at line 225 of file blamer.cpp.
|
static |
Definition at line 547 of file blamer.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 109 of file blamer.h.
|
inline |
|
inline |
|
inline |
| void BlamerBundle::SetChopperBlame | ( | const WERD_RES * | word, |
| bool | debug | ||
| ) |
Definition at line 310 of file blamer.cpp.
| void BlamerBundle::SetMisAdaptionDebug | ( | const WERD_CHOICE * | best_choice, |
| bool | debug | ||
| ) |
Definition at line 574 of file blamer.cpp.
| void BlamerBundle::SetRejectedTruth | ( | ) |
Definition at line 105 of file blamer.cpp.
| void BlamerBundle::SetSymbolTruth | ( | const UNICHARSET & | unicharset, |
| const char * | char_str, | ||
| const TBOX & | char_box | ||
| ) |
Definition at line 86 of file blamer.cpp.
| void BlamerBundle::SetupCorrectSegmentation | ( | const TWERD * | word, |
| bool | debug | ||
| ) |
Definition at line 407 of file blamer.cpp.
| void BlamerBundle::SetupNormTruthWord | ( | const DENORM & | denorm | ) |
Definition at line 145 of file blamer.cpp.
| void BlamerBundle::SetWordTruth | ( | const UNICHARSET & | unicharset, |
| const char * | truth_str, | ||
| const TBOX & | word_box | ||
| ) |
Definition at line 66 of file blamer.cpp.
| void BlamerBundle::SplitBundle | ( | int | word1_right, |
| int | word2_left, | ||
| bool | debug, | ||
| BlamerBundle * | bundle1, | ||
| BlamerBundle * | bundle2 | ||
| ) | const |
Definition at line 169 of file blamer.cpp.
|
inline |
Definition at line 100 of file blamer.h.
|
inline |