All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
tovars.cpp File Reference
#include "tovars.h"
#include "params.h"

Go to the source code of this file.

Macros

#define EXTERN
 

Variables

EXTERN bool textord_show_initial_words = FALSE
 
EXTERN bool textord_show_new_words = FALSE
 
EXTERN bool textord_show_fixed_words = FALSE
 
EXTERN bool textord_blocksall_fixed = FALSE
 
EXTERN bool textord_blocksall_prop = FALSE
 
EXTERN bool textord_blocksall_testing = FALSE
 
EXTERN bool textord_test_mode = FALSE
 
EXTERN int textord_dotmatrix_gap = 3
 
EXTERN int textord_debug_block = 0
 
EXTERN int textord_pitch_range = 2
 
EXTERN double textord_wordstats_smooth_factor = 0.05
 
EXTERN double textord_width_smooth_factor = 0.10
 
EXTERN double textord_words_width_ile = 0.4
 
EXTERN double textord_words_maxspace = 4.0
 
EXTERN double textord_words_default_maxspace = 3.5
 
EXTERN double textord_words_default_minspace = 0.6
 
EXTERN double textord_words_min_minspace = 0.3
 
EXTERN double textord_words_default_nonspace = 0.2
 
EXTERN double textord_words_initial_lower = 0.25
 
EXTERN double textord_words_initial_upper = 0.15
 
EXTERN double textord_words_minlarge = 0.75
 
EXTERN double textord_words_pitchsd_threshold = 0.040
 
EXTERN double textord_words_def_fixed = 0.016
 
EXTERN double textord_words_def_prop = 0.090
 
EXTERN int textord_words_veto_power = 5
 
EXTERN double textord_pitch_rowsimilarity = 0.08
 
EXTERN bool textord_pitch_scalebigwords = FALSE
 
EXTERN double words_initial_lower = 0.5
 
EXTERN double words_initial_upper = 0.15
 
EXTERN double words_default_prop_nonspace = 0.25
 
EXTERN double words_default_fixed_space = 0.75
 
EXTERN double words_default_fixed_limit = 0.6
 
EXTERN double textord_words_definite_spread = 0.30
 
EXTERN double textord_spacesize_ratiofp = 2.8
 
EXTERN double textord_spacesize_ratioprop = 2.0
 
EXTERN double textord_fpiqr_ratio = 1.5
 
EXTERN double textord_max_pitch_iqr = 0.20
 
EXTERN double textord_fp_min_width = 0.5
 

Macro Definition Documentation

#define EXTERN

Definition at line 23 of file tovars.cpp.

Variable Documentation

EXTERN bool textord_blocksall_fixed = FALSE

"Moan about prop blocks"

Definition at line 29 of file tovars.cpp.

EXTERN bool textord_blocksall_prop = FALSE

"Moan about fixed pitch blocks"

Definition at line 31 of file tovars.cpp.

EXTERN bool textord_blocksall_testing = FALSE

"Dump stats when moaning"

Definition at line 32 of file tovars.cpp.

EXTERN int textord_debug_block = 0

"Block to do debug on"

Definition at line 36 of file tovars.cpp.

EXTERN int textord_dotmatrix_gap = 3

"Max pixel gap for broken pixed pitch"

Definition at line 35 of file tovars.cpp.

EXTERN double textord_fp_min_width = 0.5

"Min width of decent blobs"

Definition at line 83 of file tovars.cpp.

EXTERN double textord_fpiqr_ratio = 1.5

"Pitch IQR/Gap IQR threshold"

Definition at line 81 of file tovars.cpp.

EXTERN double textord_max_pitch_iqr = 0.20

"Xh fraction noise in pitch"

Definition at line 82 of file tovars.cpp.

EXTERN int textord_pitch_range = 2

"Max range test on pitch"

Definition at line 37 of file tovars.cpp.

EXTERN double textord_pitch_rowsimilarity = 0.08

"Fraction of xheight for sameness"

Definition at line 67 of file tovars.cpp.

EXTERN bool textord_pitch_scalebigwords = FALSE

"Scale scores on big words"

Definition at line 69 of file tovars.cpp.

EXTERN bool textord_show_fixed_words = FALSE

"Display forced fixed pitch words"

Definition at line 28 of file tovars.cpp.

EXTERN bool textord_show_initial_words = FALSE

"Display separate words"

Definition at line 25 of file tovars.cpp.

EXTERN bool textord_show_new_words = FALSE

"Display separate words"

Definition at line 26 of file tovars.cpp.

EXTERN double textord_spacesize_ratiofp = 2.8

"Min ratio space/nonspace"

Definition at line 78 of file tovars.cpp.

EXTERN double textord_spacesize_ratioprop = 2.0

"Min ratio space/nonspace"

Definition at line 80 of file tovars.cpp.

EXTERN bool textord_test_mode = FALSE

"Do current test"

Definition at line 33 of file tovars.cpp.

EXTERN double textord_width_smooth_factor = 0.10

"Smoothing width stats"

Definition at line 41 of file tovars.cpp.

EXTERN double textord_words_def_fixed = 0.016

"Threshold for definite fixed"

Definition at line 61 of file tovars.cpp.

EXTERN double textord_words_def_prop = 0.090

"Threshold for definite prop"

Definition at line 63 of file tovars.cpp.

EXTERN double textord_words_default_maxspace = 3.5

"Max believable third space"

Definition at line 46 of file tovars.cpp.

EXTERN double textord_words_default_minspace = 0.6

"Fraction of xheight"

Definition at line 48 of file tovars.cpp.

EXTERN double textord_words_default_nonspace = 0.2

"Fraction of xheight"

Definition at line 51 of file tovars.cpp.

EXTERN double textord_words_definite_spread = 0.30

"Non-fuzzy spacing region"

Definition at line 76 of file tovars.cpp.

EXTERN double textord_words_initial_lower = 0.25

"Max inital cluster size"

Definition at line 53 of file tovars.cpp.

EXTERN double textord_words_initial_upper = 0.15

"Min initial cluster spacing"

Definition at line 55 of file tovars.cpp.

EXTERN double textord_words_maxspace = 4.0

"Multiple of xheight"

Definition at line 44 of file tovars.cpp.

EXTERN double textord_words_min_minspace = 0.3

"Fraction of xheight"

Definition at line 49 of file tovars.cpp.

EXTERN double textord_words_minlarge = 0.75

"Fraction of valid gaps needed"

Definition at line 57 of file tovars.cpp.

EXTERN double textord_words_pitchsd_threshold = 0.040

"Pitch sync threshold"

Definition at line 59 of file tovars.cpp.

EXTERN int textord_words_veto_power = 5

"Rows required to outvote a veto"

Definition at line 65 of file tovars.cpp.

EXTERN double textord_words_width_ile = 0.4

"Ile of blob widths for space est"

Definition at line 43 of file tovars.cpp.

EXTERN double textord_wordstats_smooth_factor = 0.05

"Smoothing gap stats"

Definition at line 39 of file tovars.cpp.

EXTERN double words_default_fixed_limit = 0.6

"Allowed size variance"

Definition at line 74 of file tovars.cpp.

EXTERN double words_default_fixed_space = 0.75

"Fraction of xheight"

Definition at line 73 of file tovars.cpp.

EXTERN double words_default_prop_nonspace = 0.25

"Fraction of xheight"

Definition at line 72 of file tovars.cpp.

EXTERN double words_initial_lower = 0.5

"Max inital cluster size"

Definition at line 70 of file tovars.cpp.

EXTERN double words_initial_upper = 0.15

"Min initial cluster spacing"

Definition at line 71 of file tovars.cpp.