Skip to content

Commit 95ed924

Browse files
committed
Fix typo in function name
Signed-off-by: Stefan Weil <sw@weilnetz.de>
1 parent 4671e2b commit 95ed924

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/textord/tabfind.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ TabFind::TabFind(int gridsize, const ICOORD& bleft, const ICOORD& tright,
7272
v_it_(&vectors_) {
7373
width_cb_ = nullptr;
7474
v_it_.add_list_after(vlines);
75-
SetVerticalSkewAndParellelize(vertical_x, vertical_y);
75+
SetVerticalSkewAndParallelize(vertical_x, vertical_y);
7676
width_cb_ = NewPermanentTessCallback(this, &TabFind::CommonWidth);
7777
}
7878

@@ -853,7 +853,7 @@ void TabFind::FindAllTabVectors(int min_gutter_width) {
853853
TabVector_IT v_it(&vectors_);
854854
v_it.add_list_after(&dummy_vectors);
855855
// Now use the summed (mean) vertical vector as the direction for everything.
856-
SetVerticalSkewAndParellelize(vertical_x, vertical_y);
856+
SetVerticalSkewAndParallelize(vertical_x, vertical_y);
857857
}
858858

859859
// Helper for FindAllTabVectors finds the vectors of a particular type.
@@ -905,7 +905,7 @@ TabVector* TabFind::FindTabVector(int search_size_multiple,
905905

906906
// Set the vertical_skew_ member from the given vector and refit
907907
// all vectors parallel to the skew vector.
908-
void TabFind::SetVerticalSkewAndParellelize(int vertical_x, int vertical_y) {
908+
void TabFind::SetVerticalSkewAndParallelize(int vertical_x, int vertical_y) {
909909
// Fit the vertical vector into an ICOORD, which is 16 bit.
910910
vertical_skew_.set_with_shrink(vertical_x, vertical_y);
911911
if (textord_debug_tabfind)
@@ -1285,7 +1285,7 @@ bool TabFind::Deskew(TabVector_LIST* hlines, BLOBNBOX_LIST* image_blobs,
12851285
TabVector* d = d_it.data();
12861286
d->Rotate(*deskew);
12871287
}
1288-
SetVerticalSkewAndParellelize(0, 1);
1288+
SetVerticalSkewAndParallelize(0, 1);
12891289
// Rebuild the grid to the new size.
12901290
TBOX grid_box(bleft_, tright_);
12911291
grid_box.rotate_large(*deskew);

src/textord/tabfind.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class TabFind : public AlignedBlob {
287287

288288
// Set the vertical_skew_ member from the given vector and refit
289289
// all vectors parallel to the skew vector.
290-
void SetVerticalSkewAndParellelize(int vertical_x, int vertical_y);
290+
void SetVerticalSkewAndParallelize(int vertical_x, int vertical_y);
291291

292292
// Sort all the current vectors using the vertical_skew_ vector.
293293
void SortVectors();

0 commit comments

Comments
 (0)