Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/tesseract/src/textord/tovars.h @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 /********************************************************************** | |
| 2 * File: tovars.h (Formerly to_vars.h) | |
| 3 * Description: Variables used by textord. | |
| 4 * Author: Ray Smith | |
| 5 * Created: Tue Aug 24 16:55:02 BST 1993 | |
| 6 * | |
| 7 * (C) Copyright 1993, 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 #ifndef TOVARS_H | |
| 21 #define TOVARS_H | |
| 22 | |
| 23 #include "params.h" | |
| 24 | |
| 25 namespace tesseract { | |
| 26 | |
| 27 extern BOOL_VAR_H(textord_show_initial_words); | |
| 28 extern BOOL_VAR_H(textord_blocksall_fixed); | |
| 29 extern BOOL_VAR_H(textord_blocksall_prop); | |
| 30 extern INT_VAR_H(textord_dotmatrix_gap); | |
| 31 extern INT_VAR_H(textord_debug_block); | |
| 32 extern INT_VAR_H(textord_pitch_range); | |
| 33 extern double_VAR_H(textord_wordstats_smooth_factor); | |
| 34 extern double_VAR_H(textord_words_maxspace); | |
| 35 extern double_VAR_H(textord_words_default_maxspace); | |
| 36 extern double_VAR_H(textord_words_default_minspace); | |
| 37 extern double_VAR_H(textord_words_min_minspace); | |
| 38 extern double_VAR_H(textord_words_default_nonspace); | |
| 39 extern double_VAR_H(textord_words_initial_lower); | |
| 40 extern double_VAR_H(textord_words_initial_upper); | |
| 41 extern double_VAR_H(textord_words_minlarge); | |
| 42 extern double_VAR_H(textord_words_pitchsd_threshold); | |
| 43 extern double_VAR_H(textord_words_def_fixed); | |
| 44 extern double_VAR_H(textord_words_def_prop); | |
| 45 extern INT_VAR_H(textord_words_veto_power); | |
| 46 extern double_VAR_H(textord_pitch_rowsimilarity); | |
| 47 extern BOOL_VAR_H(textord_pitch_scalebigwords); | |
| 48 extern double_VAR_H(words_initial_lower); | |
| 49 extern double_VAR_H(words_initial_upper); | |
| 50 extern double_VAR_H(words_default_prop_nonspace); | |
| 51 extern double_VAR_H(words_default_fixed_space); | |
| 52 extern double_VAR_H(words_default_fixed_limit); | |
| 53 extern double_VAR_H(textord_words_definite_spread); | |
| 54 extern double_VAR_H(textord_spacesize_ratioprop); | |
| 55 extern double_VAR_H(textord_fpiqr_ratio); | |
| 56 extern double_VAR_H(textord_max_pitch_iqr); | |
| 57 | |
| 58 } // namespace tesseract | |
| 59 | |
| 60 #endif |
