64 if (word->
done && (pass == 1) && (!word_from_dict || word_is_ambig) &&
65 one_ell_conflict(word,
FALSE)) {
66 if (tessedit_rejection_debug)
tprintf(
"one_ell_conflict detected\n");
69 if (word->
done && ((!word_from_dict &&
71 if (tessedit_rejection_debug)
tprintf(
"non-dict or ambig word detected\n");
74 if (tessedit_rejection_debug) {
93 check_debug_pt(word, -1);
100 if (tessedit_reject_mode == 0) {
103 }
else if (tessedit_reject_mode == 5) {
112 one_ell_conflict(word,
TRUE);
122 if (rej_use_tess_blanks &&
127 if (rej_use_good_perm) {
131 (!rej_use_sensible_wd ||
132 acceptable_word_string(*word->
uch_set,
138 if (rej_alphas_in_number_perm) {
139 for (i = 0, offset = 0;
157 tprintf(
"BAD tessedit_reject_mode\n");
161 if (tessedit_image_border > -1)
162 reject_edge_blobs(word);
164 check_debug_pt (word, 10);
165 if (tessedit_rejection_debug) {
167 tprintf(
"Certainty: %f Rating: %f\n",
173 check_debug_pt(word, 20);
bool get_isalpha(UNICHAR_ID unichar_id) const
const STRING & unichar_string() const
void flip_0O(WERD_RES *word)
void initialise(inT16 length)
void rej_word_not_tess_accepted()
WERD_CHOICE * best_choice
void reject_poor_matches(WERD_RES *word)
void flip_hyphens(WERD_RES *word)
const char * string() const
bool dangerous_ambig_found() const
void reject_blanks(WERD_RES *word)
void rej_word_small_xht()
void rej_word_bad_permuter()
const UNICHARSET * uch_set
void rej_word_contains_blanks()
const STRING & unichar_lengths() const