Tesseract  3.02
tesseract-ocr/ccmain/fixspace.h
Go to the documentation of this file.
00001 /******************************************************************
00002  * File:        fixspace.h  (Formerly fixspace.h)
00003  * Description: Implements a pass over the page res, exploring the alternative
00004  *                                      spacing possibilities, trying to use context to improve the
00005           word spacing
00006 * Author:               Phil Cheatle
00007 * Created:              Thu Oct 21 11:38:43 BST 1993
00008 *
00009 * (C) Copyright 1993, Hewlett-Packard Ltd.
00010 ** Licensed under the Apache License, Version 2.0 (the "License");
00011 ** you may not use this file except in compliance with the License.
00012 ** You may obtain a copy of the License at
00013 ** http://www.apache.org/licenses/LICENSE-2.0
00014 ** Unless required by applicable law or agreed to in writing, software
00015 ** distributed under the License is distributed on an "AS IS" BASIS,
00016 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00017 ** See the License for the specific language governing permissions and
00018 ** limitations under the License.
00019 *
00020 **********************************************************************/
00021 
00022 #ifndef           FIXSPACE_H
00023 #define           FIXSPACE_H
00024 
00025 #include          "pageres.h"
00026 #include          "params.h"
00027 #include          "notdll.h"
00028 
00029 void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list);
00030 void transform_to_next_perm(WERD_RES_LIST &words);
00031 void fixspace_dbg(WERD_RES *word);
00032 #endif