30 #include "config_auto.h" 38 tprintf(
"Running word_adaptable() for %s rating %.4f certainty %.4f\n",
52 CHECK_ONE_ELL_CONFLICT,
64 if (flags.
bit (ADAPTABLE_WERD)) {
67 tprintf(
"tess_would_adapt bit is false\n");
71 if (flags.
bit (ACCEPTABLE_WERD)) {
74 tprintf(
"tess_accepted bit is false\n");
82 if (flags.
bit (CHECK_DAWGS) &&
96 if (flags.
bit (CHECK_SPACES) &&
102 if (flags.
bit (CHECK_AMBIG_WERD) &&
109 tprintf(
"returning status %d\n", status);
DLLSYM void tprintf(const char *format,...)
bool bit(uint8_t bit_num) const
bool one_ell_conflict(WERD_RES *word_res, bool update_map)
const char * string() const
bool tessedit_adaption_debug
const STRING & unichar_string() const
WERD_CHOICE * best_choice
bool word_adaptable(WERD_RES *word, uint16_t mode)
bool dangerous_ambig_found() const