Skip to content

Commit

Permalink
Correct indefinite articles before vowels
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Nov 14, 2023
1 parent 67438fa commit 7c17827
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion java/com/google/scrollview/events/SVEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public SVEvent(SVEventType t, SVWindow w, int x1, int y1, int x2, int y2,
}

/**
* 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)
Expand Down
2 changes: 1 addition & 1 deletion java/com/google/scrollview/ui/SVWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/textord/strokewidth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/textord/tablerecog.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ class TESS_API TableRecognizer {
// 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.
Expand Down
2 changes: 1 addition & 1 deletion src/textord/underlin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
**********************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion src/wordrec/language_model.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class LanguageModel {
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
Expand Down

0 comments on commit 7c17827

Please sign in to comment.