Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Dictionary curation 2026 09 04 (#4332)
Andrew Dunbarca8b652807ad
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex b08248e30..bc7af5808 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -18561,7 +18561,7 @@ commentate/VdSGcommentator/~NSgcommenter/NSgcommerce/~NmgV-commercial/~NSgJY+commercial/~NSgJYUcommercialisation/Ng!_₹commercialise/VGdS!_₹commercialism/Nmg@@ -29046,7 +29046,7 @@ horseman/~N0ghorsemanship/Nmghorsemen/~N9horseplay/NgV-horsepower/~Ng+horsepower/~Nmghorseradish/NwgShorseshit/Nxhorseshoe/~NSgVddiff --git a/harper-core/src/linting/mass_nouns/mass_plurals.rs b/harper-core/src/linting/mass_nouns/mass_plurals.rsindex 455d23b16..041cd2568 100644--- a/harper-core/src/linting/mass_nouns/mass_plurals.rs+++ b/harper-core/src/linting/mass_nouns/mass_plurals.rs@@ -203,4 +203,13 @@ mod tests {"Transit costs were high in terms of time, finances, and vehicle wear and tear, which posed significant obstacles to international commerce",);}++ #[test]+ fn fix_horsepowers() {+ assert_suggestion_result(+ "It's around about 60 horsepowers. So, you can't go in and say, \"Well, we got more horsepowers than our rivals.\" because it's got the same and through that restriction they've created an absolute banger. I'm so excited about this car.",+ MassPlurals::new(FstDictionary::curated()),+ "It's around about 60 horsepower. So, you can't go in and say, \"Well, we got more horsepower than our rivals.\" because it's got the same and through that restriction they've created an absolute banger. I'm so excited about this car.",+ );+ }}