Skip to content

Commit

Permalink
[en] improve rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tiff committed Aug 27, 2024
1 parent 7e7ee10 commit 21d0492
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,11 @@ Ogerpon Ogerpon NNP
Archaludon Archaludon NNP
Timpson Timpson NNP
Lindner Lindner NNP
Choctaw Choctaw NNPS
Computershare Computershare NNP
pax pax NNS
Seminole Seminole NNPS
counsel counsel NNS
Hydrapple Hydrapple NNP
Terapagos Terapagos NNP
NewsNation NewsNation NNP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10934,6 +10934,9 @@ AC PRIV
A/C PRIV
AC Priv
A/C Priv
ENT
ENTs
silastic
DPA
DPAs
Miraidon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,33 @@ mechanoreceptive
mechanostat
spatiotemporal
spatiotemporally
otorhinolaryngologist
otorhinolaryngologists
otorhinolaryngology
otorhinolaryngological
otorhinolaryngologically
otorhinolaryngologic
otolaryngology
otolaryngologist
otolaryngologists
otolaryngological
otolaryngologically
otolaryngologic
stroboscopy
thyroplasty
breathiness
thyroarytenoid
thyroarytenoideus
cricoarytenoid
reinnervation
reinnervations
reinnervate
reinnervates
reinnervating
reinnervated
cricoid
accelerationist
accelerationists
autoaccept
autoaccepts
autoaccepted
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8015,5 +8015,7 @@ Masoud Pezeshkian NNP
o tempora, o mores UH
O tempora! O mores! UH
Daffy Duck NNP
rima glottidis NN:U
Pavel Durov NNP
Ahmed Aboutaleb NNP
Iron Crown NNP
Original file line number Diff line number Diff line change
Expand Up @@ -5609,6 +5609,7 @@ Le Vieux Montréal
Vieux-Montréal
Suwałki Gap
Suwalki Gap
Mocro Maffia
Golan Heights
Cruzcampo Especial
Bab El Oued
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96230,6 +96230,42 @@ USA
<token postag="NNP?S|UNKNOWN" postag_regexp="yes" />
<example>Upgrade to LanguageTool Premium to find many more grammar, style, and punctuation mistakes.</example>
</antipattern>
<antipattern>
<token regexp="yes">many|several</token>
<token regexp="yes">sort|kind|couple</token>
<token regexp="yes">off?</token>
</antipattern>
<antipattern>
<token regexp="yes">that|which</token>
<token regexp="yes">many|several</token>
<token postag="VBP" />
</antipattern>
<antipattern>
<token regexp="yes">many|several</token>
<token>end</token>
<token>up</token>
</antipattern>
<antipattern>
<token regexp="yes">many|several</token>
<token>question</token>
<token postag="W.*" postag_regexp="yes" />
</antipattern>
<antipattern>
<token regexp="yes">many|several</token>
<token postag="VBP" />
<token regexp="yes">you|it|me|him|her|us|them</token>
</antipattern>
<antipattern>
<token regexp="yes">many|several</token>
<token postag="VBP" />
<token regexp="yes">that</token>
<token chunk_re=".-NP.*" postag="PRP_S.*|NN.*|EX" postag_regexp="yes" skip="3" />
<token chunk_re=".-VP" />
</antipattern>
<antipattern>
<token>many</token>
<token>fold</token>
</antipattern>
<pattern>
<marker>
<token regexp="yes">many|several|few|various</token>
Expand All @@ -96238,11 +96274,12 @@ USA
<exception regexp="yes">second|all|get|know|make|feel|hope</exception>
</token>
<token postag="NN:UN|NNP?" postag_regexp="yes" chunk_re="E-NP-.*">
<exception postag="NN:U|NNP?S|MD|CC|VB[DG]|IN|RB|PRP.*" postag_regexp="yes"/>
<exception postag="NN:U|NNP?S|MD|CC|VB[DG]|IN|RB|PRP.*|W.*" postag_regexp="yes"/>
<exception inflected="yes">be</exception>
<exception regexp="yes">are|have|better|find|say|finish|active|incoming|know</exception>
<exception regexp="yes">are|have|better|find|say|finish|active|incoming|know|reach|empty||call|focus|oh|feel|leave|compare|overlook|hold|digital|social|separate|rich|vital|outside|inside|faculty</exception>
<exception regexp="yes" scope="next">(&apostrophe;).*</exception>
<exception scope="next" regexp="yes">/|\-|–</exception>
<exception case_sensitive="yes" regexp="yes">[A-Z]+</exception>
<exception regexp="yes">thousand|hundred|million|trillion|billion|kelvin</exception>
<exception regexp="yes" case_sensitive="yes">&uom_abbreviations_SI;|&uom_abbreviations_other;</exception>
</token>
Expand Down

0 comments on commit 21d0492

Please sign in to comment.