mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Correct indefinite articles before vowels
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
67438fad8b
commit
7c178276d7
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
**********************************************************************/
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user