@@ -72,7 +72,7 @@ TabFind::TabFind(int gridsize, const ICOORD& bleft, const ICOORD& tright,
72
72
v_it_(&vectors_) {
73
73
width_cb_ = nullptr ;
74
74
v_it_.add_list_after (vlines);
75
- SetVerticalSkewAndParellelize (vertical_x, vertical_y);
75
+ SetVerticalSkewAndParallelize (vertical_x, vertical_y);
76
76
width_cb_ = NewPermanentTessCallback (this , &TabFind::CommonWidth);
77
77
}
78
78
@@ -853,7 +853,7 @@ void TabFind::FindAllTabVectors(int min_gutter_width) {
853
853
TabVector_IT v_it (&vectors_);
854
854
v_it.add_list_after (&dummy_vectors);
855
855
// Now use the summed (mean) vertical vector as the direction for everything.
856
- SetVerticalSkewAndParellelize (vertical_x, vertical_y);
856
+ SetVerticalSkewAndParallelize (vertical_x, vertical_y);
857
857
}
858
858
859
859
// Helper for FindAllTabVectors finds the vectors of a particular type.
@@ -905,7 +905,7 @@ TabVector* TabFind::FindTabVector(int search_size_multiple,
905
905
906
906
// Set the vertical_skew_ member from the given vector and refit
907
907
// 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) {
909
909
// Fit the vertical vector into an ICOORD, which is 16 bit.
910
910
vertical_skew_.set_with_shrink (vertical_x, vertical_y);
911
911
if (textord_debug_tabfind)
@@ -1285,7 +1285,7 @@ bool TabFind::Deskew(TabVector_LIST* hlines, BLOBNBOX_LIST* image_blobs,
1285
1285
TabVector* d = d_it.data ();
1286
1286
d->Rotate (*deskew);
1287
1287
}
1288
- SetVerticalSkewAndParellelize (0 , 1 );
1288
+ SetVerticalSkewAndParallelize (0 , 1 );
1289
1289
// Rebuild the grid to the new size.
1290
1290
TBOX grid_box (bleft_, tright_);
1291
1291
grid_box.rotate_large (*deskew);
0 commit comments