diff --git a/java/com/google/scrollview/events/SVEvent.java b/java/com/google/scrollview/events/SVEvent.java index 18309c2f..9b57d9e0 100644 --- a/java/com/google/scrollview/events/SVEvent.java +++ b/java/com/google/scrollview/events/SVEvent.java @@ -53,7 +53,7 @@ public class SVEvent { } /** - * An event which issues a command (like clicking on a item in the menubar). + * An event which issues a command (like clicking on an item in the menubar). * * @param eventtype The type of the event as specified in SVEventType * (usually SVET_MENU or SVET_POPUP) diff --git a/java/com/google/scrollview/ui/SVWindow.java b/java/com/google/scrollview/ui/SVWindow.java index 3b5e7cd8..0da062a8 100644 --- a/java/com/google/scrollview/ui/SVWindow.java +++ b/java/com/google/scrollview/ui/SVWindow.java @@ -82,7 +82,7 @@ public class SVWindow extends JFrame { // This really needs to be a fixed width stroke as the basic stroke is // anti-aliased and gets too faint, but the piccolo fixed width stroke // is too buggy and generates missing initial moveto in path definition - // errors with a IllegalPathStateException that cannot be caught because + // errors with an IllegalPathStateException that cannot be caught because // it is in the automatic repaint function. If we can fix the exceptions // in piccolo, then we can use the following instead of BasicStroke: // import edu.umd.cs.piccolox.util.PFixedWidthStroke; diff --git a/src/textord/strokewidth.cpp b/src/textord/strokewidth.cpp index d8f52f60..e579eb21 100644 --- a/src/textord/strokewidth.cpp +++ b/src/textord/strokewidth.cpp @@ -1581,7 +1581,7 @@ bool StrokeWidth::DiacriticBlob(BlobGrid *small_grid, BLOBNBOX *blob) { // Setup a rectangle search to find its nearest base-character neighbour. // We keep 2 different best candidates: // best_x_overlap is a category of base characters that have an overlap in x - // (like a acute) in which we look for the least y-gap, computed using the + // (like an acute) in which we look for the least y-gap, computed using the // projection to favor base characters in the same textline. // best_y_overlap is a category of base characters that have no x overlap, // (nominally a y-overlap is preferrecd but not essential) in which we diff --git a/src/textord/tablerecog.h b/src/textord/tablerecog.h index f7f49fbd..fb22b386 100644 --- a/src/textord/tablerecog.h +++ b/src/textord/tablerecog.h @@ -279,7 +279,7 @@ public: // nullptr is returned. // // Keep in mind, this may "overgrow" or "undergrow" the size of guess. - // Ideally, there is a either a one-to-one correspondence between + // Ideally, there is either a one-to-one correspondence between // the guess and table or no table at all. This is not the best of // assumptions right now, but was made to try to keep things simple in // the first pass. diff --git a/src/textord/underlin.cpp b/src/textord/underlin.cpp index 112d5fdd..431cd498 100644 --- a/src/textord/underlin.cpp +++ b/src/textord/underlin.cpp @@ -195,7 +195,7 @@ void find_underlined_blobs( // get chop points /********************************************************************** * vertical_cunderline_projection * - * Compute the vertical projection of a outline from its outlines + * Compute the vertical projection of an outline from its outlines * and add to the given STATS. **********************************************************************/ diff --git a/src/wordrec/language_model.h b/src/wordrec/language_model.h index 846f6ab0..010cf5b4 100644 --- a/src/wordrec/language_model.h +++ b/src/wordrec/language_model.h @@ -77,7 +77,7 @@ public: float rating_cert_scale); // Updates language model state of the given BLOB_CHOICE_LIST (from - // the ratings matrix) a its parent. Updates pain_points if new + // the ratings matrix) and its parent. Updates pain_points if new // problematic points are found in the segmentation graph. // // At most language_model_viterbi_list_size are kept in each