Skip to content

Commit

Permalink
fixed principle part generation on no amount
Browse files Browse the repository at this point in the history
  • Loading branch information
cqb13 committed Mar 1, 2024
1 parent 82c7135 commit ff9278b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/use_data/parsers/latin_dictionary_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ pub fn parse_latin_dictionary(
}
}
} else {
for word in dictionary {
for mut word in dictionary {
if !word_fits_filters(&word.orth, &word.pos, &pos_list, &max, &min, &exact) {
continue;
}

word.generate_principle_parts();

latin_word_info_list.push(word);
}
}
Expand Down

0 comments on commit ff9278b

Please sign in to comment.