mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Fix some typos in comments (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
31486f7c3c
commit
becec34057
@ -110,7 +110,7 @@ bool Tesseract::init_tesseract_lang_data(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (oem == OEM_DEFAULT) {
|
if (oem == OEM_DEFAULT) {
|
||||||
// Set the engine mode from availablity, which can then be overidden by
|
// Set the engine mode from availability, which can then be overidden by
|
||||||
// the config file when we read it below.
|
// the config file when we read it below.
|
||||||
if (!tessdata_manager.IsLSTMAvailable()) {
|
if (!tessdata_manager.IsLSTMAvailable()) {
|
||||||
tessedit_ocr_engine_mode.set_value(OEM_TESSERACT_ONLY);
|
tessedit_ocr_engine_mode.set_value(OEM_TESSERACT_ONLY);
|
||||||
|
@ -335,7 +335,7 @@ void join_edges(CRACKEDGE *edge1, // edges to join
|
|||||||
if (edge1->pos.x() + edge1->stepx != edge2->pos.x()
|
if (edge1->pos.x() + edge1->stepx != edge2->pos.x()
|
||||||
|| edge1->pos.y() + edge1->stepy != edge2->pos.y()) {
|
|| edge1->pos.y() + edge1->stepy != edge2->pos.y()) {
|
||||||
CRACKEDGE *tempedge = edge1;
|
CRACKEDGE *tempedge = edge1;
|
||||||
edge1 = edge2; // swap araound
|
edge1 = edge2; // swap around
|
||||||
edge2 = tempedge;
|
edge2 = tempedge;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user