• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* -*-C-*-
2  ********************************************************************************
3  *
4  * File:         tordvars.h
5  * Description:  Text Ordering Control Variables
6  * Author:       Mark Seaman, OCR Technology
7  * Created:      Wed Oct 25 16:33:01 1989
8  * Modified:     Mon Jul  1 14:28:23 1991 (Mark Seaman) marks@hpgrlt
9  * Language:     C
10  * Package:      N/A
11  * Status:       Experimental (Do Not Distribute)
12  *
13  * (c) Copyright 1989, 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 #ifndef TOVARS_H
26 #define TOVARS_H
27 
28 #include <stdio.h>
29 
30 #include "varable.h"
31 
32 /*----------------------------------------------------------------------
33               V a r i a b l e s
34 ----------------------------------------------------------------------*/
35 extern FILE *rawfile;                       /* Text before dictionary */
36 extern FILE *textfile;                      /* Text output file */
37 extern FILE *correct_fp;                    //correct text
38 extern FILE *matcher_fp;
39 
40 extern BOOL_VAR_H(tord_write_output, 0, "Text file output");
41 
42 extern BOOL_VAR_H(tord_write_raw_output, 0, "Text before context");
43 
44 extern BOOL_VAR_H(tord_similarity_enable, 0, "Switch for Similarity");
45 
46 extern double_VAR_H(tord_certainty_threshold, -2.25, "Certainty Value");
47 
48 extern INT_VAR_H(tord_num_word_choices, 30, "Number of choices");
49 
50 extern BOOL_VAR_H(tord_blob_skip, 0, "Skip to Next selection");
51 
52 extern double_VAR_H(tord_overlap_threshold, 0.33, "Overlap Threshold");
53 
54 extern BOOL_VAR_H(tord_debug_3, 0, "Textord Debug #3");
55 
56 extern BOOL_VAR_H(tord_debug_5, 0, "Textord Debug #5");
57 
58 extern BOOL_VAR_H(tord_debug_8, 0, "Textord Debug #8");
59 
60 extern INT_VAR_H(tord_display_ratings, 0, "Ratings display");
61 
62 extern BOOL_VAR_H(tord_display_text, 0, "Display Text");
63 
64 extern BOOL_VAR_H(tord_show_bold, 1, "Show Bold Text");
65 
66 #endif
67