Skip to content

Commit

Permalink
A few typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sadra-barikbin authored and stweil committed Apr 26, 2024
1 parent 072b5d4 commit 77c99e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ccstruct/stepblob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const double kMaxPerimeterWidthRatio = 8.0;
**********************************************************************/
static void position_outline( // put in place
C_OUTLINE *outline, // thing to place
C_OUTLINE_LIST *destlist // desstination list
C_OUTLINE_LIST *destlist // destination list
) {
C_OUTLINE_IT it = destlist; // iterator
// iterator on children
Expand Down
2 changes: 1 addition & 1 deletion src/textord/colfind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ ColumnFinder::~ColumnFinder() {
}

// Performs initial processing on the blobs in the input_block:
// Setup the part_grid, stroke_width_, nontext_map.
// Setup the part_grid_, stroke_width_, nontext_map.
// Obvious noise blobs are filtered out and used to mark the nontext_map_.
// Initial stroke-width analysis is used to get local text alignment
// direction, so the textline projection_ map can be setup.
Expand Down
2 changes: 1 addition & 1 deletion src/textord/strokewidth.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class StrokeWidth : public BlobGrid {
// Corrects the data structures for the given rotation.
void CorrectForRotation(const FCOORD &rerotation, ColPartitionGrid *part_grid);

// Finds leader partitions and inserts them into the give grid.
// Finds leader partitions and inserts them into the given grid.
void FindLeaderPartitions(TO_BLOCK *block, ColPartitionGrid *part_grid);

// Finds and marks noise those blobs that look like bits of vertical lines
Expand Down

0 comments on commit 77c99e0

Please sign in to comment.