cutil/tordvars.h File Reference

#include <stdio.h>

Go to the source code of this file.

Functions

Variables


Function Documentation

void init_textord_vars (  ) 

Create variables to be used by the texord section of code.

Definition at line 82 of file tordvars.cpp.

References int_variable, write_output, and write_raw_output.

Referenced by init_ms_debug().

00082                          { 
00083   int_variable (write_output, "write_output", 0);
00084   int_variable (write_raw_output, "write_raw_output", 0);
00085   make_certainty_threshold();
00086   make_num_word_choices();
00087   make_blob_skip();
00088   make_overlap_threshold();
00089   make_show_bold();
00090 
00091   make_debug_3();
00092   make_debug_5();
00093   make_debug_8();
00094 
00095   make_display_ratings();
00096   make_display_text();
00097 }


Variable Documentation

int blob_skip

Skip to next selection

Referenced by best_first_search(), evaluate_chunks(), improve_by_chopping(), improve_one_blob(), set_pass1(), and set_pass2().

float certainty_threshold

When to quit looking

Referenced by good_choice().

FILE* correct_fp

Correct text

Definition at line 36 of file tordvars.cpp.

Referenced by classify_word_pass1(), and edit_with_ocr().

int debug_3

Note:
File: tovars.h (Formerly to-vars.h)
Do word classification
Author:
Mark Seaman, OCR Technology
Date:
Wed Oct 25 16:33:01 1989 Mon Jul 1 14:28:23 1991 (Mark Seaman) marks
 * (c) Copyright 1989, Hewlett-Packard Company.
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 ** http://www.apache.org/licenses/LICENSE-2.0
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.

Referenced by case_ok().

int debug_5

Referenced by prioritize_points().

int debug_8

Referenced by bin_to_pieces().

int display_blocks

Show word as boxes

Definition at line 121 of file pgedit.cpp.

Referenced by do_re_display(), and process_cmd_win_event().

int display_ratings

Show the ratings

Definition at line 53 of file tordvars.h.

int display_text

Show word text

Referenced by program_editdown().

FILE* matcher_fp

Matcher log

Definition at line 34 of file tordvars.cpp.

int num_word_choices

How many words to keep

float overlap_threshold

Overlap Threshold

FILE* rawfile

Text before dictionary

Definition at line 30 of file tordvars.cpp.

Referenced by edit_with_ocr(), program_editdown(), and write_results().

int show_bold

Use bold text

Referenced by print_choices().

int similarity_debug

Level of debug output

Definition at line 44 of file tordvars.cpp.

int similarity_enable

Switch for Similarity

Definition at line 43 of file tordvars.cpp.

Referenced by good_choice().

FILE* textfile

Text output file

Definition at line 32 of file tordvars.cpp.

Referenced by edit_with_ocr(), output_pass(), program_editdown(), and write_results().

int write_output

Text file output

Definition at line 39 of file tordvars.cpp.

Referenced by edit_with_ocr(), init_textord_vars(), and program_editdown().

int write_raw_output

Text before context

Definition at line 41 of file tordvars.cpp.

Referenced by edit_with_ocr(), init_textord_vars(), and program_editdown().


Generated on Wed Feb 28 19:49:22 2007 for Tesseract by  doxygen 1.5.1