File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ std::wstring TSpellCorrector::FixFragmentNormalized(const std::wstring& text) co
245
245
return result;
246
246
}
247
247
248
- void TSpellCorrector::SetPenalty (double knownWordsPenaly , double unknownWordsPenalty) {
249
- KnownWordsPenalty = knownWordsPenaly ;
248
+ void TSpellCorrector::SetPenalty (double knownWordsPenalty , double unknownWordsPenalty) {
249
+ KnownWordsPenalty = knownWordsPenalty ;
250
250
UnknownWordsPenalty = unknownWordsPenalty;
251
251
}
252
252
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class TSpellCorrector {
16
16
std::vector<std::wstring> GetCandidates (const std::vector<std::wstring>& sentence, size_t position) const ;
17
17
std::wstring FixFragment (const std::wstring& text) const ;
18
18
std::wstring FixFragmentNormalized (const std::wstring& text) const ;
19
- void SetPenalty (double knownWordsPenaly , double unknownWordsPenalty);
19
+ void SetPenalty (double knownWordsPenalty , double unknownWordsPenalty);
20
20
void SetMaxCandiatesToCheck (size_t maxCandidatesToCheck);
21
21
const NJamSpell::TLangModel& GetLangModel () const ;
22
22
private:
You can’t perform that action at this time.
0 commit comments