#include "mfcpch.h"#include <ctype.h>#include "reject.h"#include "statistc.h"#include "genblob.h"#include "control.h"#include "fixspace.h"#include "tessvars.h"#include "tessbox.h"#include "secname.h"#include "globals.h"#include "tesseractclass.h"| #define EXTERN |
| #define MAXSPACING 128 |
| #define PERFECT_WERDS 999 |
| float blob_noise_score | ( | PBLOB * | blob | ) |
| void break_noisiest_blob_word | ( | WERD_RES_LIST & | words | ) |
| void fixspace_dbg | ( | WERD_RES * | word | ) |
| void initialise_search | ( | WERD_RES_LIST & | src_list, | |
| WERD_RES_LIST & | new_list | |||
| ) |
| void transform_to_next_perm | ( | WERD_RES_LIST & | words | ) |
| EXTERN int debug_fix_space_level = 0 |
"Contextual fixspace debug"
| EXTERN bool fixsp_check_for_fp_noise_space = TRUE |
"Try turning noise to space in fixed pitch"
| EXTERN int fixsp_done_mode = 1 |
"What constitues done for spacing"
| EXTERN bool fixsp_fp_eval = TRUE |
"Use alternate evaluation for fp"
| EXTERN bool fixsp_ignore_punct = TRUE |
"In uniform spacing calc"
| EXTERN bool fixsp_noise_score_fixing = TRUE |
"More sophisticated?"
| EXTERN int fixsp_non_noise_limit = 1 |
"How many non-noise blbs either side?"
| EXTERN bool fixsp_numeric_fix = TRUE |
"Try to deal with numeric punct"
| EXTERN bool fixsp_prefer_joined_1s = TRUE |
"Arbitrary boost"
| EXTERN double fixsp_small_outlines_size = 0.28 |
"Small if lt xht x this"
| EXTERN char* numeric_punctuation = ".," |
"Punct. chs expected WITHIN numbers"
| EXTERN bool tessedit_prefer_joined_punct = FALSE |
"Reward punctation joins"
| EXTERN bool tessedit_test_uniform_wd_spacing = FALSE |
"Limit context word spacing"
1.6.3