Skip to content

Commit 00a4e06

Browse files
committed
wordrec: Fix typos in comments
All of them were found by codespell. Signed-off-by: Stefan Weil <[email protected]>
1 parent 425c239 commit 00a4e06

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

wordrec/lm_state.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ struct ViterbiStateEntry : public ELIST_LINK {
177177
/// the smallest rating or lower/upper case letters).
178178
LanguageModelFlagsType top_choice_flags;
179179

180-
/// Extra information maintained by Dawg laguage model component
180+
/// Extra information maintained by Dawg language model component
181181
/// (owned by ViterbiStateEntry).
182182
LanguageModelDawgInfo *dawg_info;
183183

184-
/// Extra information maintained by Ngram laguage model component
184+
/// Extra information maintained by Ngram language model component
185185
/// (owned by ViterbiStateEntry).
186186
LanguageModelNgramInfo *ngram_info;
187187

wordrec/pieces.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ void Wordrec::merge_and_put_fragment_lists(inT16 row, inT16 column,
273273
*
274274
* Recursively go through the ratings matrix to find lists of fragments
275275
* to be merged in the function merge_and_put_fragment_lists.
276-
* current_frag is the postion of the piece we are looking for.
276+
* current_frag is the position of the piece we are looking for.
277277
* current_row is the row in the rating matrix we are currently at.
278278
* start is the row we started initially, so that we can know where
279279
* to append the results to the matrix. num_frag_parts is the total

wordrec/wordrec.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ class Wordrec : public Classify {
375375
inT16 num_blobs);
376376
// Recursively go through the ratings matrix to find lists of fragments
377377
// to be merged in the function merge_and_put_fragment_lists.
378-
// current_frag is the postion of the piece we are looking for.
378+
// current_frag is the position of the piece we are looking for.
379379
// current_row is the row in the rating matrix we are currently at.
380380
// start is the row we started initially, so that we can know where
381381
// to append the results to the matrix. num_frag_parts is the total

0 commit comments

Comments
 (0)