#include "varable.h"
#include "pageres.h"
#include "notdll.h"
Go to the source code of this file.
float compute_reject_threshold | ( | BLOB_CHOICE_LIST_CLIST * | blob_choices | ) |
void dont_allow_1Il | ( | WERD_RES * | word | ) |
void dont_allow_dubious_chars | ( | WERD_RES * | word | ) |
inT16 evaluate_net_match | ( | char | top, | |
float | top_score, | |||
char | next, | |||
float | next_score, | |||
char | tess_ch, | |||
BOOL8 | dict_word, | |||
BOOL8 | checked_dict_word, | |||
BOOL8 | sensible_word, | |||
BOOL8 | centre, | |||
BOOL8 | good_quality_word | |||
) |
void flip_0O | ( | WERD_RES * | word | ) |
void flip_hyphens | ( | WERD_RES * | word | ) |
inT16 nn_match_char | ( | IMAGE & | scaled_image, | |
float | baseline_pos, | |||
BOOL8 | dict_word, | |||
BOOL8 | checked_dict_word, | |||
BOOL8 | sensible_word, | |||
BOOL8 | centre, | |||
BOOL8 | good_quality_word, | |||
char | tess_ch | |||
) |
BOOL8 non_0_digit | ( | const char * | str, | |
int | length | |||
) |
void reject_blanks | ( | WERD_RES * | word | ) |
void reject_edge_blobs | ( | WERD_RES * | word | ) |
void reject_I_1_L | ( | WERD_RES * | word | ) |
void reject_mostly_rejects | ( | WERD_RES * | word | ) |
void reject_poor_matches | ( | WERD_RES * | word, | |
BLOB_CHOICE_LIST_CLIST * | blob_choices | |||
) |
int sort_floats | ( | const void * | arg1, | |
const void * | arg2 | |||
) | [inline] |
BOOL8 word_contains_non_1_digit | ( | const char * | word, | |
const char * | word_lengths | |||
) |
char* conflict_set_hyphen = "-_~" |
"hyphen conflict set"
char* conflict_set_I_l_1 = "Il1[]" |
"Il1 conflict set"
char* conflict_set_S_s = "Ss$" |
"Ss conflict set"
char* dubious_chars_left_of_reject = "!'+`()-./\<>;:^_,~\"" |
"Unreliable chars"
char* dubious_chars_right_of_reject = "!'+`()-./\<>;:^_,~\"" |
"Unreliable chars"
int min_sane_x_ht_pixels = 8 |
"Reject any x-ht lt or eq than this"
int net_bl_nodes = 20 |
"Number of baseline nodes"
int net_image_height = 36 |
"NN input image height"
int net_image_width = 40 |
"NN input image width"
int net_image_x_height = 22 |
"NN input image x_height"
"NN use 1Il conflicts"
int nn_conf_accept_level = 4 |
"NN accept dodgy 1Il matches? "
"Double check for confusions"
"NN hyphen conflicts"
int nn_conf_initial_i_level = 3 |
"NN accept initial Ii match level "
"NN use Ss conflicts"
"Require stronger NN match"
"NN dodgy 1Il cross check"
bool nn_conf_test_good_qual = FALSE |
"NN dodgy 1Il cross check"
"NN dodgy 1Il cross check"
double nn_dodgy_char_threshold = 0.99 |
"min accept score"
bool nn_double_check_dict = FALSE |
"Double check"
bool nn_reject_debug = FALSE |
"NN DEBUG each char?"
double nn_reject_head_and_shoulders = 0.6 |
"top scores sep factor"
double nn_reject_threshold = 0.5 |
"NN min accept score"
bool no_unrej_1Il = FALSE |
"Stop unrej of 1Ilchars?"
"Dubious chars next to reject?"
"Stop unrej of non A/N wds?"
char* ok_repeated_ch_non_alphanum_wds = "-?*\075" |
"Allow NN to unrej"
char* ok_single_ch_non_alphanum_wds = "-?\075" |
"Allow NN to unrej"
"one_ell_conflict default"
"Dont double check"
bool rej_1Il_use_dict_word = FALSE |
"Use dictword test"
bool rej_alphas_in_number_perm = FALSE |
"Extend permuter check"
int rej_mostly_reject_mode = 1 |
"0-never, 1-afterNN, 2-after new xht"
bool rej_trust_doc_dawg = FALSE |
"Use DOC dawg in 11l conf. detector"
"Individual rejection control"
bool rej_use_sensible_wd = FALSE |
"Extend permuter check"
"Individual rejection control"
"Individual rejection control"
double rej_whole_of_mostly_reject_word_fract = 0.85 |
"if >this fract"
bool show_char_clipping = FALSE |
"Show clip image window?"
double tessed_fullstop_aspect_ratio = 1.2 |
"if >this fract then reject"
"Contextual 0O O0 flips"
int tessedit_image_border = 2 |
"Rej blbs near image edge limit"
double tessedit_lower_flip_hyphen = 1.5 |
"Aspect ratio dot/hyphen test"
int tessedit_ok_mode = 5 |
"Acceptance decision algorithm"
int tessedit_reject_mode = 5 |
"Rejection algorithm"
bool tessedit_rejection_debug = FALSE |
"Adaption debug"
bool tessedit_rejection_stats = FALSE |
"Show NN stats"
double tessedit_upper_flip_hyphen = 1.8 |
"Aspect ratio dot/hyphen test"
""