mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
wordrec: Fix typos in comments
All of them were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
425c2391b2
commit
00a4e06be9
@ -177,11 +177,11 @@ struct ViterbiStateEntry : public ELIST_LINK {
|
||||
/// the smallest rating or lower/upper case letters).
|
||||
LanguageModelFlagsType top_choice_flags;
|
||||
|
||||
/// Extra information maintained by Dawg laguage model component
|
||||
/// Extra information maintained by Dawg language model component
|
||||
/// (owned by ViterbiStateEntry).
|
||||
LanguageModelDawgInfo *dawg_info;
|
||||
|
||||
/// Extra information maintained by Ngram laguage model component
|
||||
/// Extra information maintained by Ngram language model component
|
||||
/// (owned by ViterbiStateEntry).
|
||||
LanguageModelNgramInfo *ngram_info;
|
||||
|
||||
|
@ -273,7 +273,7 @@ void Wordrec::merge_and_put_fragment_lists(inT16 row, inT16 column,
|
||||
*
|
||||
* Recursively go through the ratings matrix to find lists of fragments
|
||||
* to be merged in the function merge_and_put_fragment_lists.
|
||||
* current_frag is the postion of the piece we are looking for.
|
||||
* current_frag is the position of the piece we are looking for.
|
||||
* current_row is the row in the rating matrix we are currently at.
|
||||
* start is the row we started initially, so that we can know where
|
||||
* to append the results to the matrix. num_frag_parts is the total
|
||||
|
@ -375,7 +375,7 @@ class Wordrec : public Classify {
|
||||
inT16 num_blobs);
|
||||
// Recursively go through the ratings matrix to find lists of fragments
|
||||
// to be merged in the function merge_and_put_fragment_lists.
|
||||
// current_frag is the postion of the piece we are looking for.
|
||||
// current_frag is the position of the piece we are looking for.
|
||||
// current_row is the row in the rating matrix we are currently at.
|
||||
// start is the row we started initially, so that we can know where
|
||||
// to append the results to the matrix. num_frag_parts is the total
|
||||
|
Loading…
Reference in New Issue
Block a user