| 1 |
"""-able vs. -atable.""" |
| 2 |
|
| 3 |
from proselint.tools import memoize, preferred_forms_check |
| 4 |
|
| 5 |
|
| 6 |
@memoize |
| 7 |
def check(text): |
| 8 |
"""-able vs. -atable.""" |
| 9 |
err = "spelling.able_atable" |
| 10 |
msg = "-able vs. -atable. '{}' is the preferred spelling." |
| 11 |
|
| 12 |
preferences = [ |
| 13 |
|
| 14 |
["abbreviable", ["abbreviatable"]], |
| 15 |
["abdicable", ["abdicatable"]], |
| 16 |
["abrogable", ["abrogatable"]], |
| 17 |
["accommodable", ["accommodatable"]], |
| 18 |
["accumulable", ["accumulatable"]], |
| 19 |
["activable", ["activatable"]], |
| 20 |
["administrable", ["administratable"]], |
| 21 |
["adulterable", ["adulteratable"]], |
| 22 |
["affiliable", ["affiliatable"]], |
| 23 |
["aggregable", ["aggregatable"]], |
| 24 |
["agitable", ["agitatable"]], |
| 25 |
["alienable", ["alienatable"]], |
| 26 |
["alleviable", ["alleviatable"]], |
| 27 |
["allocable", ["allocatable"]], |
| 28 |
["ameliorable", ["amelioratable"]], |
| 29 |
["annihilable", ["annihilatable"]], |
| 30 |
["appreciable", ["appreciatable"]], |
| 31 |
["appropriable", ["appropriatable"]], |
| 32 |
["arbitrable", ["arbitratable"]], |
| 33 |
["articulable", ["articulatable"]], |
| 34 |
["calculable", ["calculatable"]], |
| 35 |
["communicable", ["communicatable"]], |
| 36 |
["compensable", ["compensatable"]], |
| 37 |
["confiscable", ["confiscatable"]], |
| 38 |
["corroborable", ["corroboratable"]], |
| 39 |
["cultivable", ["cultivatable"]], |
| 40 |
["delegable", ["delegatable"]], |
| 41 |
["delineable", ["delineatable"]], |
| 42 |
["demonstrable", ["demonstratable"]], |
| 43 |
["detonable", ["detonatable"]], |
| 44 |
["differentiable", ["differentiatable"]], |
| 45 |
["eradicable", ["eradicatable"]], |
| 46 |
["evacuable", ["evacuatable"]], |
| 47 |
["evaluable", ["evaluatable"]], |
| 48 |
["expropriable", ["expropriatable"]], |
| 49 |
["generable", ["generatable"]], |
| 50 |
["indicable", ["indicatable"]], |
| 51 |
["inebriable", ["inebriatable"]], |
| 52 |
["inextirpable", ["inextirpatable"]], |
| 53 |
["inextricable", ["inextricatable"]], |
| 54 |
["infatuable", ["infatuatable"]], |
| 55 |
["infuriable", ["infuriatable"]], |
| 56 |
["invalidable", ["invalidatable"]], |
| 57 |
["investigable", ["investigatable"]], |
| 58 |
["isolable", ["isolatable"]], |
| 59 |
["litigable", ["litigatable"]], |
| 60 |
["manipulable", ["manipulatable"]], |
| 61 |
["medicable", ["medicatable"]], |
| 62 |
["navigable", ["navigatable"]], |
| 63 |
["obligable", ["obligatable"]], |
| 64 |
["obviable", ["obviatable"]], |
| 65 |
["operable", ["operatable"]], |
| 66 |
["originable", ["originatable"]], |
| 67 |
["participable", ["participatable"]], |
| 68 |
["penetrable", ["penetratable"]], |
| 69 |
["perpetrable", ["perpetratable"]], |
| 70 |
["perpetuable", ["perpetuatable"]], |
| 71 |
["predicable", ["predicatable"]], |
| 72 |
["propagable", ["propagatable"]], |
| 73 |
["regulable", ["regulatable"]], |
| 74 |
["replicable", ["replicatable"]], |
| 75 |
["repudiable", ["repudiatable"]], |
| 76 |
["segregable", ["segregatable"]], |
| 77 |
["separable", ["separatable"]], |
| 78 |
["subjugable", ["subjugatable"]], |
| 79 |
["vindicable", ["vindicatable"]], |
| 80 |
["violable", ["violatable"]], |
| 81 |
["vitiable", ["vitiatable"]] |
| 82 |
] |
| 83 |
|
| 84 |
return preferred_forms_check(text, preferences, err, msg) |