comparison mupdf-source/thirdparty/tesseract/src/ccmain/control.h @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
1 /**********************************************************************
2 * File: control.h (Formerly control.h)
3 * Description: Module-independent matcher controller.
4 * Author: Ray Smith
5 * Created: Thu Apr 23 11:09:58 BST 1992
6 *
7 * (C) Copyright 1992, Hewlett-Packard Ltd.
8 ** Licensed under the Apache License, Version 2.0 (the "License");
9 ** you may not use this file except in compliance with the License.
10 ** You may obtain a copy of the License at
11 ** http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
17 *
18 **********************************************************************/
19
20 /**
21 * @file control.h
22 * Module-independent matcher controller.
23 */
24
25 #ifndef CONTROL_H
26 #define CONTROL_H
27
28 enum ACCEPTABLE_WERD_TYPE {
29 AC_UNACCEPTABLE, ///< Unacceptable word
30 AC_LOWER_CASE, ///< ALL lower case
31 AC_UPPER_CASE, ///< ALL upper case
32 AC_INITIAL_CAP, ///< ALL but initial lc
33 AC_LC_ABBREV, ///< a.b.c.
34 AC_UC_ABBREV ///< A.B.C.
35 };
36
37 #endif