#include "pageres.h"
#include "varable.h"
#include "ocrclass.h"
#include "notdll.h"
Go to the source code of this file.
Functions | |
void | initialise_search (WERD_RES_LIST &src_list, WERD_RES_LIST &new_list) |
void | transform_to_next_perm (WERD_RES_LIST &words) |
void | dump_words (WERD_RES_LIST &perm, inT16 score, inT16 mode, BOOL8 improved) |
BOOL8 | uniformly_spaced (WERD_RES *word) |
BOOL8 | fixspace_thinks_word_done (WERD_RES *word) |
void | break_noisiest_blob_word (WERD_RES_LIST &words) |
inT16 | worst_noise_blob (WERD_RES *word_res, float *worst_noise_score) |
float | blob_noise_score (PBLOB *blob) |
void | fixspace_dbg (WERD_RES *word) |
Variables | |
bool | fixsp_check_for_fp_noise_space = TRUE |
bool | fixsp_fp_eval = TRUE |
bool | fixsp_noise_score_fixing = TRUE |
int | fixsp_non_noise_limit = 1 |
double | fixsp_small_outlines_size = 0.28 |
bool | fixsp_ignore_punct = TRUE |
bool | fixsp_numeric_fix = TRUE |
bool | fixsp_prefer_joined_1s = TRUE |
bool | tessedit_test_uniform_wd_spacing = FALSE |
bool | tessedit_prefer_joined_punct = FALSE |
int | fixsp_done_mode = 1 |
int | debug_fix_space_level = 0 |
char * | numeric_punctuation = ".," |
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 | ) |
int debug_fix_space_level = 0 |
"Contextual fixspace debug"
"Try turning noise to space in fixed pitch"
int fixsp_done_mode = 1 |
"What constitutes done for spacing"
"What constitues done for spacing"
"Use alternate evaluation for fp"
"In uniform spacing calc"
"More sophisticated?"
int fixsp_non_noise_limit = 1 |
"How many non-noise blbs either side?"
"Try to deal with numeric punct"
"Arbitrary boost"
double fixsp_small_outlines_size = 0.28 |
"Small if lt xht x this"
char* numeric_punctuation = ".," |
"Punct. chs expected WITHIN numbers"
bool tessedit_prefer_joined_punct = FALSE |
"Reward punctation joins"
bool tessedit_test_uniform_wd_spacing = FALSE |
"Limit context word spacing"