diff --git a/src/ccstruct/stepblob.cpp b/src/ccstruct/stepblob.cpp index 3311f0c6f3..50bf0becc3 100644 --- a/src/ccstruct/stepblob.cpp +++ b/src/ccstruct/stepblob.cpp @@ -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 diff --git a/src/textord/colfind.cpp b/src/textord/colfind.cpp index d64f25dfc4..9e1ce820cf 100644 --- a/src/textord/colfind.cpp +++ b/src/textord/colfind.cpp @@ -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. diff --git a/src/textord/strokewidth.h b/src/textord/strokewidth.h index bc88d8fd59..cdab5345fe 100644 --- a/src/textord/strokewidth.h +++ b/src/textord/strokewidth.h @@ -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