mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-21 17:13:09 +08:00
Fix linux build.
This commit is contained in:
parent
ce058604ba
commit
3444618075
@ -174,7 +174,7 @@ bool LSTMRecognizer::LoadDictionary(const ParamsVectors* params,
|
||||
dict_->LoadLSTM(lang, mgr);
|
||||
if (dict_->FinishLoad()) return true; // Success.
|
||||
tprintf("Failed to load any lstm-specific dictionaries for lang %s!!\n",
|
||||
lang);
|
||||
lang.c_str());
|
||||
delete dict_;
|
||||
dict_ = nullptr;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user