tesseract v5.3.3.20231005
fixspace.h
Go to the documentation of this file.
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
25namespace tesseract {
26
27class WERD_RES;
28class WERD_RES_LIST;
29
30void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list);
31void transform_to_next_perm(WERD_RES_LIST &words);
32void fixspace_dbg(WERD_RES *word);
33
34} // namespace tesseract
35
36#endif
void transform_to_next_perm(WERD_RES_LIST &words)
Definition: fixspace.cpp:391
void initialise_search(WERD_RES_LIST &src_list, WERD_RES_LIST &new_list)
Definition: fixspace.cpp:201
void fixspace_dbg(WERD_RES *word)
Definition: fixspace.cpp:806