Skip to content

Commit d1793dc

Browse files
authored
fix: mark "heading" as a countable noun (#2379)
* fix: mark "heading" as a countable noun * chore: things learned from working on #2395 * chore: don't mark chemical element symbols as nouns * fix: Wireguard→WireGuard
1 parent a0aab09 commit d1793dc

11 files changed

Lines changed: 1196 additions & 1190 deletions

harper-core/dictionary.dict

Lines changed: 116 additions & 110 deletions
Large diffs are not rendered by default.

harper-core/tests/text/linters/Computer science.snap.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Message: |
257257
Suggest:
258258
- Replace with: “Nair”
259259
- Replace with: “Nauru”
260-
- Replace with: Na's
260+
- Replace with: Nag
261261

262262

263263

@@ -293,7 +293,7 @@ Message: |
293293
Suggest:
294294
- Replace with: “Nair”
295295
- Replace with: “Nauru”
296-
- Replace with: Na's
296+
- Replace with: Nag
297297

298298

299299

@@ -317,7 +317,7 @@ Message: |
317317
Suggest:
318318
- Replace with: “Nair”
319319
- Replace with: “Nauru”
320-
- Replace with: Na's
320+
- Replace with: Nag
321321

322322

323323

harper-core/tests/text/linters/The Great Gatsby.snap.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7035,9 +7035,9 @@ Message: |
70357035
5172 | Roosevelt and then to Gad’s Hill, where he bought a sandwich that he didn’t eat,
70367036
| ^~~~~ Did you mean to spell `Gad’s` this way?
70377037
Suggest:
7038-
- Replace with: “Ga's”
7039-
- Replace with: “Gd's”
70407038
- Replace with: “Gab's”
7039+
- Replace with: “Gag's”
7040+
- Replace with: “Gal's”
70417041

70427042

70437043

@@ -7047,9 +7047,9 @@ Message: |
70477047
5174 | reach Gad’s Hill until noon. Thus far there was no difficulty in accounting for
70487048
| ^~~~~ Did you mean to spell `Gad’s` this way?
70497049
Suggest:
7050-
- Replace with: “Ga's”
7051-
- Replace with: “Gd's”
70527050
- Replace with: “Gab's”
7051+
- Replace with: “Gag's”
7052+
- Replace with: “Gal's”
70537053

70547054

70557055

harper-core/tests/text/tagged/Alice's Adventures in Wonderland.md

Lines changed: 395 additions & 395 deletions
Large diffs are not rendered by default.

harper-core/tests/text/tagged/Computer science.md

Lines changed: 53 additions & 53 deletions
Large diffs are not rendered by default.

harper-core/tests/text/tagged/Difficult sentences.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
> I discovered it by chance .
126126
# ISg/#r+ VP/J NPr/ISg+ NSg/J/P NPr/VB/J+ .
127127
> By ' maybe ' she means ' no ' .
128-
# NSg/J/P . NSg/J/R . ISg+ NPl/V3 . NPr/Dq/P . .
128+
# NSg/J/P . NSg/J/R . ISg+ NPl/V3 . NSg/Dq/P . .
129129
> The electricity was cut off , so we had to read by candlelight .
130130
# D+ Nᴹ+ VPt NSg/VBP/J NSg/VB/J/P . NSg/I/J/R/C IPl+ VP P NSg/VBP NSg/J/P Nᴹ .
131131
> By the power vested in me , I now pronounce you man and wife .
@@ -166,8 +166,8 @@
166166
# NPr/ISg+ VL3 NSg/VB/J P NSg/VB/J D/P # . NSg/J/P . # NSg+ .
167167
> The room was about 4 foot by 6 foot .
168168
# D+ N🅪Sg/VB/J+ VPt J/P # NSg/VB NSg/J/P # NSg/VB+ .
169-
> The bricks used to build the wall measured 10 by 20 by 30 cm .
170-
# D+ NPl/V3+ VP/J P NSg/VB D+ NPr/VB+ VP/J # NSg/J/P # NSg/J/P # NSg/#r+ .
169+
> The bricks used to build the wall measured 10 by 20 by 30 cm .
170+
# D+ NPl/V3+ VP/J P NSg/VB D+ NPr/VB+ VP/J # NSg/J/P # NSg/J/P # #r+ .
171171
> She's a lovely little filly , by Big Lad , out of Damsel in Distress .
172172
# K D/P NSg/J NPr/I/J/Dq NSg . NSg/J/P NSg/J NSg . NSg/VB/J/R/P P NSg NPr/J/R/P Nᴹ/VB+ .
173173
> Are you eating by Rabbi Fischer ? ( at the house of )
@@ -181,7 +181,7 @@
181181
>
182182
#
183183
> I watched the parade as it passed by .
184-
# ISg/#r+ VP/J D+ NSg/VB+ NSg/R NPr/ISg+ VP/J NSg/J/P .
184+
# ISg/#r+ VP/J D+ NSg/VB+ R/C/P NPr/ISg+ VP/J NSg/J/P .
185185
> There was a shepherd close by .
186186
# R+ VPt D/P+ NPr/VB+ NSg/VB/J NSg/J/P .
187187
> I'll stop by on my way home from work .
@@ -266,8 +266,8 @@
266266
# IPl+ VP/J D N🅪Sg R/C/P NSg/VB+ NPl+ .
267267
> Police combed his flat for clues .
268268
# Nᴹ/VB+ VP/J ISg/D$+ NSg/VB/J R/C/P NPl/V3+ .
269-
> I've lived here for three years .
270-
# K VP/J NSg/J/R R/C/P NSg NPl+ .
269+
> I've lived here for three years .
270+
# K VP/J J/R R/C/P NSg NPl+ .
271271
> They fought for days over a silly pencil .
272272
# IPl+ VB R/C/P NPl+ NSg/J/P D/P+ NSg/J+ NSg/VB+ .
273273
> The store is closed for the day .
@@ -348,8 +348,8 @@
348348
# NSg/VB Nᴹ/Vg/J P # .
349349
> You can study anything from math to literature .
350350
# ISgPl+ NPr/VXB NSg/VB NSg/I/VB+ P + P Nᴹ .
351-
> It's hard to tell from here .
352-
# + N🅪Sg/J/R P NPr/VB P NSg/J/R .
351+
> It's hard to tell from here .
352+
# + N🅪Sg/J/R P NPr/VB P J/R .
353353
> Try to see it from his point of view .
354354
# NSg/VB/J P NSg/VB NPr/ISg+ P ISg/D$+ NSg/VB P NSg/VB+ .
355355
> The bomb went off just 100 yards from where they were standing .
@@ -433,15 +433,15 @@
433433
> He's met his match in her .
434434
# NSg$ VP ISg/D$+ NSg/VB+ NPr/J/R/P ISg/D$+ .
435435
> There has been no change in his condition .
436-
# R+ V3 NSg/VPp NPr/Dq/P N🅪Sg/VB NPr/J/R/P ISg/D$+ N🅪Sg/VB+ .
436+
# R+ V3 NSg/VPp NSg/Dq/P N🅪Sg/VB NPr/J/R/P ISg/D$+ N🅪Sg/VB+ .
437437
> What grade did he get in English ?
438438
# NSg/I+ NSg/VB+ VXPt NPr/ISg+ NSg/VB NPr/J/R/P NPr🅪Sg/VB/J+ .
439439
> Please pay me in cash — preferably in tens and twenties .
440440
# VB NSg/VB/J NPr/ISg+ NPr/J/R/P NPrᴹ/VB/J+ . R NPr/J/R/P W? VB/C NPl+ .
441441
> The deposit can be in any legal tender , even in gold .
442442
# D+ NSg/VB+ NPr/VXB NSg/VXB NPr/J/R/P I/R/Dq NSg/J NSg/VB/J . NSg/VB/J/R NPr/J/R/P Nᴹ/VB/J+ .
443-
> Beethoven's " Symphony No . 5 " in C minor is among his most popular .
444-
# NSg$ . NSg+ NPr/Dq/P . # . NPr/J/R/P NPr/VB/J/#r+ NSg/VB/J VL3 P ISg/D$+ NSg/I/J/R/Dq NSg/J .
443+
> Beethoven's " Symphony No . 5 " in C minor is among his most popular .
444+
# NSg$ . NSg+ NSg/Dq/P . # . NPr/J/R/P NPr/VB/#r+ NSg/VB/J VL3 P ISg/D$+ NSg/I/J/R/Dq NSg/J .
445445
> His speech was in French , but was simultaneously translated into eight languages .
446446
# ISg/D$+ N🅪Sg/VB+ VPt NPr/J/R/P NPr🅪Sg/VB/J . NSg/C/P VPt R VP/J P NSg/J+ NPl/V3+ .
447447
> When you write in cursive , it's illegible .
@@ -719,7 +719,7 @@
719719
> The city hosted the World Summit on the Information Society
720720
# D+ NSg+ VP/J D+ NSg/VB+ NSg/VB+ J/P D+ Nᴹ+ N🅪Sg+
721721
> I have no opinion on this subject .
722-
# ISg/#r+ NSg/VXB NPr/Dq/P N🅪Sg+ J/P I/Ddem+ NSg/VB/J+ .
722+
# ISg/#r+ NSg/VXB NSg/Dq/P N🅪Sg+ J/P I/Ddem+ NSg/VB/J+ .
723723
> I saw it on television .
724724
# ISg/#r+ NSg/VPt NPr/ISg+ J/P N🅪Sg/VB+ .
725725
> Can't you see I'm on the phone ?
@@ -827,7 +827,7 @@
827827
> He made several bad - taste jokes to groans from the audience .
828828
# NPr/ISg+ VP J/Dq NSg/VB/J . NSg/VB/J NPl/V3 P NPl/V3 P D+ NSg+ .
829829
> I tried complaining , but it was to no effect .
830-
# ISg/#r+ VP/J Nᴹ/Vg/J . NSg/C/P NPr/ISg+ VPt P NPr/Dq/P+ NSg/VB+ .
830+
# ISg/#r+ VP/J Nᴹ/Vg/J . NSg/C/P NPr/ISg+ VPt P NSg/Dq/P+ NSg/VB+ .
831831
> It was to a large extent true .
832832
# NPr/ISg+ VPt P D/P NSg/J NSg/J+ NSg/VB/J .
833833
> We manufacture these parts to a very high tolerance .
@@ -911,7 +911,7 @@
911911
> It was small and bumpy , with a tinge of orange .
912912
# NPr/ISg+ VPt NPr/VB/J VB/C J . P D/P NSg/VB P NPr🅪Sg/VB/J .
913913
> There are lots of people with no homes after the wildfire .
914-
# R+ VB NPl/V3 P NPl/VB+ P NPr/Dq/P+ NPl/V3+ P D NSg .
914+
# R+ VB NPl/V3 P NPl/VB+ P NSg/Dq/P+ NPl/V3+ P D NSg .
915915
> Speak with confidence .
916916
# NSg/VB P Nᴹ+ .
917917
> He spoke with sadness in his voice .

0 commit comments

Comments
 (0)