tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
fixspace.h
1 /******************************************************************
2  * File: fixspace.h (Formerly fixspace.h)
3  * Description: Implements a pass over the page res, exploring the alternative
4  * spacing possibilities, trying to use context to improve the
5  * word spacing
6  * Author: Phil Cheatle
7  * Created: Thu Oct 21 11:38:43 BST 1993
8  *
9  * (C) Copyright 1993, Hewlett-Packard Ltd.
10  ** Licensed under the Apache License, Version 2.0 (the "License");
11  ** you may not use this file except in compliance with the License.
12  ** You may obtain a copy of the License at
13  ** http://www.apache.org/licenses/LICENSE-2.0
14  ** Unless required by applicable law or agreed to in writing, software
15  ** distributed under the License is distributed on an "AS IS" BASIS,
16  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  ** See the License for the specific language governing permissions and
18  ** limitations under the License.
19  *
20  **********************************************************************/
21 
22 #ifndef FIXSPACE_H
23 #define FIXSPACE_H
24 
25 class WERD_RES;
26 class WERD_RES_LIST;
27 
28 void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list);
29 void transform_to_next_perm(WERD_RES_LIST &words);
30 void fixspace_dbg(WERD_RES *word);
31 
32 #endif
Definition: pageres.h:169