• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* -*-C-*-
2  ********************************************************************************
3  *
4  * File:         tordvars.cpp
5  * Description:  Text Ordering Control Variables
6  * Author:       Mark Seaman, OCR Technology
7  * Created:      Wed Jan 17 12:47:29 1990
8  * Modified:     Tue Jul 30 16:22:40 1991 (Mark Seaman) marks@hpgrlt
9  * Language:     C
10  * Package:      N/A
11  * Status:       Experimental (Do Not Distribute)
12  *
13  * (c) Copyright 1990, Hewlett-Packard Company.
14  ** Licensed under the Apache License, Version 2.0 (the "License");
15  ** you may not use this file except in compliance with the License.
16  ** You may obtain a copy of the License at
17  ** http://www.apache.org/licenses/LICENSE-2.0
18  ** Unless required by applicable law or agreed to in writing, software
19  ** distributed under the License is distributed on an "AS IS" BASIS,
20  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  ** See the License for the specific language governing permissions and
22  ** limitations under the License.
23  *
24  *********************************************************************************/
25 /*----------------------------------------------------------------------
26               I n c l u d e s
27 ----------------------------------------------------------------------*/
28 #include "mfcpch.h"
29 
30 #include  <stdio.h>
31 
32 #include "varable.h"
33 
34 /*----------------------------------------------------------------------
35               V a r i a b l e s
36 ----------------------------------------------------------------------*/
37 FILE *rawfile;                   /* Text before dictionary */
38 FILE *textfile;                  /* Text output file */
39 FILE *matcher_fp;                //matcher log
40 FILE *correct_fp;                //correct text
41 
42 BOOL_VAR(tord_write_output, 0, "Text file output");
43 
44 BOOL_VAR(tord_write_raw_output, 0, "Text before context");
45 
46 BOOL_VAR(tord_similarity_enable, 0, "Switch for Similarity");
47 
48 double_VAR(tord_certainty_threshold, -2.25, "Certainty Value");
49 
50 INT_VAR(tord_num_word_choices, 30, "Number of choices");
51 
52 BOOL_VAR(tord_blob_skip, 0, "Skip to Next selection");
53 
54 double_VAR(tord_overlap_threshold, 0.33, "Overlap Threshold");
55 
56 BOOL_VAR(tord_debug_3, 0, "Textord Debug #3");
57 
58 BOOL_VAR(tord_debug_5, 0, "Textord Debug #5");
59 
60 BOOL_VAR(tord_debug_8, 0, "Textord Debug #8");
61 
62 INT_VAR(tord_display_ratings, 0, "Ratings display");
63 
64 BOOL_VAR(tord_display_text, 0, "Display Text");
65 
66 BOOL_VAR(tord_show_bold, 1, "Show Bold Text");
67