Debian Codegraph @

proselint/checks/misc/latin.py

raw
1 """Back-formations.
2
3 ---
4 layout: post
5 source: The sense of style
6 source_url: http://amzn.to/1EOUZ5g
7 title: back-formations
8 date: 2014-06-10 12:31:19
9 categories: writing
10 ---
11
12 Back-formations.
13
14 """
15 from proselint.tools import memoize, preferred_forms_check
16
17
18 @memoize
19 def check(text):
20 """Suggest the preferred forms."""
21 err = "pinker.latin"
22 msg = "Use English. '{}' is the preferred form."
23
24 list = [
25 ["other things being equal", ["ceteris paribus"]],
26 ["among other things", ["inter alia"]],
27 ["in and of itself", ["simpliciter"]],
28 ["having made the necessary changes", ["mutatis mutandis"]],
29 ]
30
31 return preferred_forms_check(text, list, err, msg)