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:
Stefan Weil 2015-09-14 22:23:48 +02:00
parent 425c2391b2
commit 00a4e06be9
3 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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

View File

@ -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