From 6358fa11193b9b2775f3ec7a289b9433350454ba Mon Sep 17 00:00:00 2001 From: Jordan Suchow Date: Fri, 21 Aug 2015 12:30:13 -0400 Subject: [PATCH] Sort preferred forms alphabetically --- proselint/checks/garner/preferred_forms.py | 128 +++++++++++---------- 1 file changed, 65 insertions(+), 63 deletions(-) diff --git a/proselint/checks/garner/preferred_forms.py b/proselint/checks/garner/preferred_forms.py index d6d532c71..07a806db7 100644 --- a/proselint/checks/garner/preferred_forms.py +++ b/proselint/checks/garner/preferred_forms.py @@ -34,21 +34,21 @@ def check(text): ["Pontius Pilate", ["Pontius Pilot"]], # Plurals - ["sopranos", ["soprani"]], ["hippopotamuses", ["hippopotami"]], - ["titmice", ["titmouses"]], - ["retinas", ["retinae"]], ["manifestos", ["manifesti"]], ["matrixes", ["matrices"]], ["narcissi", ["narcissuses"]], + ["retinas", ["retinae"]], + ["sopranos", ["soprani"]], + ["titmice", ["titmouses"]], # Hyphenated words + ["long-standing", ["longstanding"]], + ["sans serif", ["sans-serif", "sanserif"]], ["tortfeasor", ["tort feasor", "tort-feasor"]], ["transship", ["tranship", "trans-ship"]], ["transshipped", ["transhipped", "trans-shipped"]], ["transshipping", ["transhipping", "trans-shipping"]], - ["long-standing", ["longstanding"]], - ["sans serif", ["sans-serif", "sanserif"]], # er vs. or ["abductor", ["abducter"]], @@ -84,88 +84,90 @@ def check(text): ["infeasible", ["unfeasible"]], # Misc - ["musical revue", ["musical review"]], - ["shoo-in", ["shoe-in"]], - ["foreclose on", ["foreclose againt"]], - ["during / throughout", ["for the duration of"]], - ["mustache", ["moustache"]], - ["friend in common", ["mutual friend"]], - ["not nearly as", ["nowhere near as"]], - ["off", ["off of"]], - ["knowing that", ["in light of the fact that"]], - ["lanyard", ["laniard"]], - ["largess", ["largesse"]], - ["lasagna", ["lasagne"]], + ["attitude", ["mental attitude"]], ["Chief Justice of the United States", ["Chief Justice of the United States Supreme Court", "Chief Justice of the Supreme Court of the United States."]], - ["podiatry", ["chiropody"]], - ["podiatrist", ["chiropodist"]], ["chitterlings", ["chitlings", "chitlins"]], ["combustion engine", ["combustible engine"]], - ["leery", ["leary"]], + ["during / throughout", ["for the duration of"]], + ["foreclose on", ["foreclose againt"]], + ["friend in common", ["mutual friend"]], + ["in regard to", ["in regards to"]], ["infectious", ["infectuous"]], ["inferable", ["inferrable", "inferrible"]], - ["suicide", ["suicide victim"]], - ["with regard to", ["with regards to"]], - ["in regard to", ["in regards to"]], - ["weather vane", ["weather vein", "weather vain"]], - ["vaipidity", ["vapidness"]], - ["linguist", ["linguistician"]], - ["mayoralty", ["mayorality"]], - ["lend me his", ["loan me his"]], - ["lent me his", ["loaned me his"]], + ["knowing that", ["in light of the fact that"]], + ["lanyard", ["laniard"]], + ["largess", ["largesse"]], + ["lasagna", ["lasagne"]], + ["leery", ["leary"]], ["lend me her", ["loan me her"]], - ["lent me her", ["loaned me her"]], + ["lend me his", ["loan me his"]], ["lend me their", ["loan me their"]], - ["lent me their", ["loaned me their"]], ["lend me your", ["loan me your"]], + ["lent me her", ["loaned me her"]], + ["lent me his", ["loaned me his"]], + ["lent me their", ["loaned me their"]], ["lent me your", ["loaned me your"]], - ["the highway median", ["the highway medium"]], - ["midwifed", ["midwived"]], - ["mean-spirited", ["meanspirited"]], - ["mealy-mouthed", ["mealymouthed"]], - ["matzo-ball", ["matzoh-ball", "matza-ball", "matzah-ball", + ["linguist", ["linguistician"]], + ["matzo-ball", ["matzoh-ball", + "matza-ball", + "matzah-ball", "matsah-ball"]], - ["attitude", ["mental attitude"]], + ["mayoralty", ["mayorality"]], + ["mealy-mouthed", ["mealymouthed"]], + ["mean-spirited", ["meanspirited"]], + ["midwifed", ["midwived"]], + ["musical revue", ["musical review"]], + ["mustache", ["moustache"]], + ["not nearly as", ["nowhere near as"]], + ["off", ["off of"]], + ["podiatrist", ["chiropodist"]], + ["podiatry", ["chiropody"]], + ["shoo-in", ["shoe-in"]], + ["suicide", ["suicide victim"]], + ["the highway median", ["the highway medium"]], + ["vaipidity", ["vapidness"]], + ["weather vane", ["weather vein", "weather vain"]], + ["with regard to", ["with regards to"]], # Idioms - ["came to naught", ["came to nought"]], - ["madding crowd", ["maddening crowd"]], - ["come off it", ["come off of it"]], - ["was accused of", ["was accused with"]], + ["a couple of people", ["a couple people"]], ["all the time", ["all of the time"]], ["as follows", ["as follow"]], - ["the last two", ["both of the last two"]], - ["the last two", ["both of the last"]], ["bulk large", ["bulk largely"]], - ["a couple of people", ["a couple people"]], + ["burying the lede", ["burying the lead"]], + ["came to naught", ["came to nought"]], + ["come off it", ["come off of it"]], + ["corroborating evidence", ["corroborative evidence"]], ["dear departed", ["dearly departed"]], ["default on a loan", ["default to a loan"]], - ["punch up the lede", ["punch up the lead"]], - ["burying the lede", ["burying the lead"]], - ["Magna Carta", ["Magna Charta"]], ["draw an inference", ["make an inference"]], - ["oil magnate", ["oil magnet"]], - ["railroad magnate", ["railroad magnet"]], - ["long distances", ["lengthy distances"]], - ["unorganic food", ["inorganic food"]], - ["corroborating evidence", ["corroborative evidence"]], - ["statute of limitationas", ["statute of limits"]], - ["vale of tears", ["veil of tears"]], - ["Venus flytrap", ["Venus's flytrap", "Venus' flytrap"]], ["in the meantime", ["in the meanwhile"]], + ["long distances", ["lengthy distances"]], + ["madding crowd", ["maddening crowd"]], + ["Magna Carta", ["Magna Charta"]], + ["marriage of convenience", ["mariage de convenance"]], ["Meanwhile,", ["Meantime,"]], ["Midwest", ["Middle West"]], ["Midwestern", ["Middle Western"]], - ["modus operandi", ["mode of operandi"]], ["modi operandi", ["modes of operandi"]], + ["modus operandi", ["mode of operandi"]], ["motion seconded", ["notion seconded"]], - ["seconded the motion", ["seconded the notion"]], - ["marriage of convenience", ["mariage de convenance"]], ["mucous membranes", ["mucus membranes"]], - ["take precedence over", ["take prescience over"]], ["must pass muster", ["must past muster"]], + ["oil magnate", ["oil magnet"]], + ["punch up the lede", ["punch up the lead"]], + ["railroad magnate", ["railroad magnet"]], + ["seconded the motion", ["seconded the notion"]], + ["statute of limitationas", ["statute of limits"]], + ["take precedence over", ["take prescience over"]], + ["the last two", ["both of the last two"]], + ["the last two", ["both of the last"]], + ["unorganic food", ["inorganic food"]], + ["vale of tears", ["veil of tears"]], + ["Venus flytrap", ["Venus's flytrap", "Venus' flytrap"]], + ["was accused of", ["was accused with"]], # Verbosity ["try to", ["make an attempt to"]], @@ -178,16 +180,16 @@ def check(text): # Grammar ["be misled", ["be mislead"]], - ["were misled", ["were mislead"]], ["was misled", ["was mislead"]], + ["were misled", ["were mislead"]], # Euphemisms - ["rat-catcher", ["rodent operative"]], - ["exterminator", ["extermination engineer"]], + ["a search-and-destroy mission", ["armed reconnaissance"]], ["abortion", ["pregnancy termination"]], ["bisexual", ["sexually ambidextrous"]], - ["a search-and-destroy mission", ["armed reconnaissance"]], + ["exterminator", ["extermination engineer"]], ["firing", ["permanent layoff"]], + ["rat-catcher", ["rodent operative"]], # Tenses ["mistook", ["mistaked"]],