Skip to content

Commit

Permalink
Add more entries from GMAU
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Suchow authored and mpacer committed Sep 27, 2015
1 parent 1effae9 commit c5d12a3
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 11 deletions.
1 change: 1 addition & 0 deletions proselint/checks/garner/misspelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def check(blob):
["inevitability", ["inevitableness"]],
["innovate", ["inovate"]],
["inoculation", ["innoculation", "inocculation"]],
["integral", ["intergral"]],
["inundate", ["innundate"]],
["inundated", ["innundated"]],
["inundates", ["innundates"]],
Expand Down
142 changes: 133 additions & 9 deletions proselint/checks/garner/needless_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,18 @@ def check(blob):
["anilingus", ["anilinctus"]],
["anticipatory", ["anticipative"]],
["buck naked", ["butt naked"]],
["convertible", ["conversible"]],
["catch fire", ["catch on fire"]],
["ceasefire", ["cease fire"]],
["cellphone", ["cell phone", "cell-phone"]],
["cigarette", ["cigaret"]],
["collodion", ["collodium"]],
["collusive", ["collusory"]],
["pre-Columbian", ["precolumbian"]],
["convertible", ["conversible"]],
["endow", ["indow"]],
["enigmas", ["enigmatas"]],
["expedient", ["expediential"]],
["eyeing", ["eying"]],
["henceforth", ["henceforward"]],
["expedient", ["expediential"]],
["hesitancy", ["hesitance"]],
["heterogeneous", ["heterogenous"]],
["hierarchical", ["hierarchic"]],
Expand All @@ -80,23 +79,148 @@ def check(blob):
["inconsistency", ["inconsistence"]],
["incriminate", ["criminate"]],
["incurrence", ["incurment"]],
["neglectful", ["neglective"]],
["precedence", ["precedency"]],
["preceptorial", ["preceptoral"]],
["transposition", ["transposal"]],
["precipitate", ["precipitant"]],
["precipitancy", ["precipitance"]],
["infrequent", ["unfrequent"]],
["inhibitory", ["inhibitive"]],
["innovative", ["innovational"]],
["inquisitorial", ["inquisitional"]],
["insistence", ["insistment"]],
["instillation", ["instillment"]],
["instinctive", ["instinctual"]],
["insubstantial", ["unsubstantial"]],
["insurer", ["insuror"]],
["insurrectionary", ["insurrectional"]],
["interpret", ["interpretate"]],
["intervention", ["intervenience"]],
["ironic", ["ironical"]],
["irrevocable", ["unrevokable"]],
["judgmental", ["judgmatic"]],
["jury-rigged", ["jerry-rigged"]],
["jury-rigged", ["gerry-rigged"]],
["kaffeeklatsch", ["Coffee klatsch", "coffee klatch"]],
["knickknack", ["nicknack"]],
["labyrinthine", ["labyrinthian"]],
["laudatory", ["laudative"]],
["legitimize", ["legitimatize"]],
["lengthwise", ["lengthways"]],
["life-size", ["life-sized"]],
["lithe", ["lithesome"]],
["loath", ["loth"]],
["lubricious", ["lubricous"]],
["mayhem", ["maihem"]],
["medical marijuana", ["medicinal marijuana"]],
["minimize", ["minimalize"]],
["monetize", ["monetarize"]],
["movable", ["moveable"]],
["murk", ["mirk"]],
["murky", ["mirky"]],
["narcissism", ["narcism"]],
["neglectful", ["neglective"]],
["negligence", ["negligency"]],
["neologist", ["neologizer"]],
["neurological", ["neurologic"]],
["nictitate", ["nictate"]],
["normality", ["normalcy"]],
["numbness", ["numbedness"]],
["omissible", ["omittable"]],
["onomatopoeic", ["onomatopoetic"]],
["opined", ["opinioned"]],
["optimal advantage", ["optimum advantage"]],
["orient", ["orientate"]],
["disoriented", ["disorientated"]],
["outsize", ["outsized"]],
["oversize", ["oversized"]],
["overthrow", ["overthrowal"]],
["pacifist", ["pacificist"]],
["participatory", ["participative"]],
["parti-colored", ["parti-color"]],
["parti-colored", ["party-colored"]],
["patina", ["patine"]],
["password", ["passcode"]],
["pediatrician", ["pediatrist"]],
["pederast", ["paederast"]],
["penumbral", ["penumbrous"]],
["pejorative", ["perjorative"]],
["permute", ["permutate"]],
["permissive", ["permissory"]],
["pharmaceutical", ["pharmaceutic"]],
["pleurisy", ["pleuritis"]],
["policyholder", ["policy holder"]],
["policyholder", ["policyowner"]],
["politicize", ["politicalize"]],
["pre-Columbian", ["precolumbian"]],
["precedence", ["precedency"]],
["preceptorial", ["preceptoral"]],
["precipitancy", ["precipitance"]],
["precipitate", ["precipitant"]],
["preclusive", ["preclusory"]],
["prefectorial", ["prefectoral"]],
["preponderantly", ["preponderately"]],
["preservation", ["preserval"]],
["preventive", ["preventative"]],
["proconsulate", ["proconsulship"]],
["procreative", ["procreational"]],
["procurement", ["procurance"]],
["propulsion", ["propelment"]],
["prosecutory", ["prosecutive"]],
["protective", ["protectory"]],
["provocative", ["provocatory"]],
["prurience", ["pruriency"]],
["psychical", ["psychal"]],
["punitive", ["punitory"]],
["quantify", ["quantitate"]],
["questionnaire", ["questionary"]],
["quiescence", ["quiescency"]],
["rabbi", ["rabbin"]],
["reasonableness", ["reasonability"]],
["recidivous", ["recidivistic"]],
["propulsive", ["propulsory"]],
["recriminatory", ["recriminative"]],
["recruitment", ["recruital"]],
["recurrence", ["recurrency"]],
["recusal", ["recusement"]],
["recusal", ["recusation"]],
["recusancy", ["recusance"]],
["redemptive", ["redemptory"]],
["referable", ["referrable"]],
["referable", ["referrible"]],
["refutative", ["refutatory"]],
["remission", ["remittal"]],
["remittance", ["remitment"]],
["renounceable", ["renunciable"]],
["renunciation", ["renouncement"]],
["reparative", ["reparatory"]],
["repudiatory", ["repudiative"]],
["requital", ["requitement"]],
["rescission", ["rescindment"]],
["restoration", ["restoral"]],
["reticence", ["reticency"]],
["review", ["reviewal"]],
["revision", ["revisal"]],
["revisionary", ["revisional"]],
["revocable", ["revokable", "revokeable"]],
["retributive", ["retributional", "retributionary"]],
["salience", ["saliency"]],
["salutary", ["salutiferous"]],
["sensory", ["sensatory"]],
["sessional", ["sessionary"]],
["shareholder", ["shareowner"]],
["sickly", ["sicklily"]],
["signatory", ["signator"]],
["slander", ["slanderize"]],
["societal", ["societary"]],
["sodomite", ["sodomist"]],
["solicit", ["solicitate"]],
["speculative", ["speculatory"]],
["spirituous", ["spiritous"]],
["statutory", ["statutorial"]],
["submersible", ["submergeable"]],
["submission", ["submittal"]],
["subtle", ["subtile"]],
["sufficiency", ["sufficience"]],
["supplicant", ["suppliant"]],
["succubus", ["succuba"]],
["transposition", ["transposal"]],
["unsolvable", ["insolvable"]],
]

return preferred_forms_check(blob, preferences, err, msg)
8 changes: 6 additions & 2 deletions proselint/checks/garner/preferred_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def check(blob):
["inadvisable", ["unadvisable"]],
["inalienable", ["unalienable"]],
["inexpressive", ["unexpressive"]],
["infeasible", ["unfea"]],
["infeasible", ["unfeasible"]],

# Misc
["musical revue", ["musical review"]],
Expand All @@ -103,6 +103,8 @@ def check(blob):
["chitterlings", ["chitlings", "chitlins"]],
["combustion engine", ["combustible engine"]],
["leery", ["leary"]],
["infectious", ["infectuous"]],
["inferable", ["inferrable", "inferrible"]],

# Idioms
["madding crowd", ["maddening crowd"]],
Expand All @@ -119,6 +121,7 @@ def check(blob):
["punch up the lede", ["punch up the lead"]],
["burying the lede", ["burying the lead"]],
["Magna Carta", ["Magna Charta"]],
["draw an inference", ["make an inference"]],

# TODO, entries that are a bit complicated
# announce
Expand Down Expand Up @@ -253,6 +256,7 @@ def check_able_ible(blob):
["inadmissible", ["inadmissable"]],
["incorrigible", ["incorrigable"]],
["indelible", ["indelable"]],
["inexpressible", ["inexpressable"]],
["intelligible", ["intelligable"]],
["interfusible", ["interfusable"]],
["invincible", ["invincable"]],
Expand Down Expand Up @@ -381,7 +385,7 @@ def check_able_atable(blob):
def check_em_vs_em_and_en_vs_in(blob):
"""em- vs. en-, im- vs. in-."""
err = "MAU102"
msg = "'{}' is the preferred form."
msg = "em-, im-, en-, and in-. '{}' is the preferred form."

preferences = [

Expand Down

0 comments on commit c5d12a3

Please sign in to comment.