This also fixes a compiler warning:
src/ccmain/control.cpp:1694:9: warning: variable 'gap' set but not used [-Wunused-but-set-variable]
Fixes: dbf6197471 ("Major refactor of control.cpp to enable line recognition")
Signed-off-by: Stefan Weil <sw@weilnetz.de>
lstmtraining had written checkpoints using names like ONB_68.852000_6368_6500.checkpoint.
Now the superfluous '000' is omitted and the name will be ONB_68.852_6368_6500.checkpoint.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
- always use C ("classic") locale
- limit output of floating point values to 3 digits
- remove unneeded linefeed after log message "wrote checkpoint"
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1. Added 0x102c and 0x1062 in the tone mark section, in Karen these can
be tones too.
2. Added the optional 0x103a, 0x1037, and 0x1038 after the tones. Asat
is part of the Sgaw tone mark and dot below and visarga are used as
nasal marks following the Pwo tones.
This patch fixes the outdated snap package recipe to make the snap
buildable with the current Snapcraft release(7.3.1).
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
When textord_blockndoc_fixed was set to 1 empty rows caused a segmentation
fault. Test also textord_blockndoc_fixed first because it is typically 0.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Improve the DebugDump output by slightly adjusting the format for the numeric columns, which was 3,3,3,3 and overflowing in our test runs, damaging the table layout. See rationale in the code comment:
------
// The largest (positive and negative) numbers are reported for lindent & rindent.
// While the column header has widths 5,4,4,5, it is therefore opportune to slightly
// offset the widths in the format string here to allow ample space for lindent & rindent
// while keeeping the final table output nicely readable: 4,5,5,4.
# Conflicts:
# src/ccmain/paragraphs.cpp
* comment fix, pointed out by @stweil
Both forms are used in American English, but 'cannot' is more common
(also in Tesseract code), so use it always.
Signed-off-by: Stefan Weil <sw@weilnetz.de>