mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-07 09:52:40 +08:00
Fixes to make yesterday's changes compile
This commit is contained in:
parent
7bc6d3e059
commit
1e3b671298
@ -250,8 +250,7 @@ bool Tesseract::RecogAllWordsPassN(int pass_n, ETEXT_DESC* monitor,
|
||||
pr_it->forward();
|
||||
ASSERT_HOST(pr_it->word() != NULL);
|
||||
bool make_next_word_fuzzy = false;
|
||||
if (!AnyLSTMLang() &&
|
||||
ReassignDiacritics(pass_n, pr_it, &make_next_word_fuzzy)) {
|
||||
if (ReassignDiacritics(pass_n, pr_it, &make_next_word_fuzzy)) {
|
||||
// Needs to be setup again to see the new outlines in the chopped_word.
|
||||
SetupWordPassN(pass_n, word);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
datadir = @datadir@/tessdata
|
||||
|
||||
data_DATA = pdf.ttf pdf.ttx
|
||||
data_DATA = pdf.ttf
|
||||
EXTRA_DIST = $(data_DATA)
|
||||
|
||||
SUBDIRS = configs tessconfigs
|
||||
|
Loading…
Reference in New Issue
Block a user