Skip to content

Commit

Permalink
wordrec: Fix typos in comments
Browse files Browse the repository at this point in the history
All of them were found by codespell.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Sep 14, 2015
1 parent 425c239 commit 00a4e06
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions wordrec/lm_state.h
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion wordrec/pieces.cpp
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion wordrec/wordrec.h
Expand Up @@ -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
Expand Down

0 comments on commit 00a4e06

Please sign in to comment.