Debian Codegraph @

proselint/demo.md

raw
1 # Proselint
2 Writing is notoriously hard, even for the best writers. Yet there is a tremendous amount of knowledge about the discipline strewn across usage guides, dictionaries, technical manuals, essays, pamphlets, websites, and the hearts and minds of great authors and editors. But poring over Strunk & White hardly makes one a better writer — it turns you into neither Strunk nor White. And nobody has the capacity to apply all the advice from Garner’s Modern American Usage, a 975-page usage guide, to everything they write. In fact, the whole notion that one becomes a better writer by reading advice on writing rests on untenable assumptions about learning and memory. The traditional formats of knowledge about writing are thus essentially inert, waiting to be transformed.
3
4 We devised a simple solution: proselint, a linter for prose. (A linter is a computer program that, like a spell checker, scans through a document and analyzes it.)
5
6 Proselint places the world's greatest writers and editors by your side, where they whisper suggestions on how to improve your prose. You'll be guided by advice inspired by Bryan Garner, David Foster Wallace, Chuck Palahniuk, Steve Pinker, Mary Norris, Mark Twain, Elmore Leonard, George Orwell, Matthew Butterick, William Strunk, E.B. White, Philip Corbett, Ernest Gowers, and the editorial staff of the world's finest literary magazines and newspapers, among others. Our goal is to aggregate knowledge about best practices in writing and to make that knowledge immediately accessible to all authors in the form of a linter for prose.
7
8 This is a live demo. Obviously, you can hover over the underlined text to see what the issue is, then fix it.
9
10 # Dates & times
11 The 1950's were a swell time.
12 The 50's were a swell time.
13 Things happened from 1980-1999 and from 240-398 A.D.
14 March, 2013 was notable in that
15 In February of 2010, the mayor considered
16 It's 5 pm somewhere.
17 It's 12 a.m., time to eat lunch.
18 It's 11 p.m. at night.
19
20 # Consistency
21 This is a sentence! One space after a period.
22 This is a sentence. Two spaces after a period.
23 This is a sentence? Two spaces after a period.
24 This is a sentence. One space after a period.
25 This is a sentence. One space after a period.
26 This is a sentence. One space after a period.
27 This is a sentence. One space after a period.
28 centre centre center
29 organize, organized, organizing, organise
30 recognize, recognise, recognise, recognise
31
32 # Symbols
33 $1000 USD
34 I hit him over the head with a 2 x 4.
35
36 # Venery terms
37 A bunch of antelopes walked by the road.
38 A group of emus attacked me.
39 She swam by a bunch of oysters.
40
41 # Mondegreens
42 They hae slain the Earl o' Moray and Lady Mondegreen.
43 A girl with colitis goes by.
44
45 # Skunked terms
46 The building is deceptively large.
47 The project would decimate the fragile wetland wilderness.
48 Hopefully, one day we will all grow older.
49
50 # Links
51 www.google.com
52 http://broken.proselint.com
53 http://news.ycombinator.com
54
55 # Hyperbolic language
56 and so I said PLEASE STOP YELLING
57 so excited!
58 so excited!!
59 so excited!!!
60 so excited!!!!
61 really??
62 and so I said PLEASE STOP YELLING
63 and so I said PLEASE STOP YELLING okay?
64 THESE ARE SMALL CAPS at the beginning of a new line.
65
66 # Preferred forms
67 abbreviatable to NASA
68 academicly superior.
69 transhipped
70 an aider and abbeter
71 it's adducable
72 let's look for an acquiror
73 i wonder what tort-feasor means
74 Get that off of me before I catch on fire!
75 There are many a person I have met and worked with who simply deride themselves into taking some action
76 In the meanwhile, he looked loving at the sheep.
77 Suddenly, I see.
78
79 # Mixed metaphors
80 Get ready: button your seatbelts.
81 The cream rises to the crop.
82 The biggest bottleneck is that...
83
84 # Illogic and redundancy
85 he is very smart
86 approximately about 5 atm machines
87 atm machine
88 we associate together
89 it's blatantly obvious that this obviously works.
90 a very unique idea
91 a more perfect union
92 the surrounding circumstances
93 he filled a much-needed gap
94 To coin a phrase from the movie,
95
96 # Blowing the punchline
97 Suddenly, the car came to a stop.
98 All hell broke loose on the farm.
99
100 # Clichés
101 under the weather
102 He's a chip off the old block
103 a quantum leap
104 Our cutting edge decision-making process will make your life crystal clear.
105 He's a thought leader.
106
107 # Security
108 John's cc#:
109 378282246310005
110 the password is tnoernturpn
111 my password is long and 'long'
112 my password is amazing
113
114 # Commercialese
115 inst.
116 please be advised that
117
118 # Archaism
119 boughten
120
121 # Dismissive tone
122 this obviously works
123
124 # Chatspeak
125 brb
126 rofl
127
128 # Ogilvy's pretension
129 We'll need to reconceptualize this sentence.
130
131 # Airlinese
132 enplanement
133 We'll be taking off momentarily.
134
135 # Tense present
136 Save up to 50% or More!
137 between you and i
138 I did it on accident
139 I feel nauseous
140
141 # Phrasal adjectives
142 It was a highly-anticipated event.
143 The English speaking people speak English.
144 A big ticket item.
145 A right wing militia.
146
147 # Various misspellings
148 highfaluting
149 the statement was inadmissable in court
150 Nikita Khruschev
151 I feel innundated with email
152 Nicknack
153 He's a shoe-in
154 Brett Farve and Dwayne Wade are good friends.
155 The Chronicals of Narnia
156
157 # Strunk & White composition & regex checks
158 I did not pay for the check. Honestly, attention to detail is useful.
159 I did not pay attention to detail.
160 I did not pay any attention to detail.
161
162 # Typography
163 (c) 2015
164 (R) The Corporation
165 Use ellipsis not three dots...
166
167 # Denizen labels
168 The Manchesterian was a good Brit.
169 One from Michigan is not a Michiganite but a Michigander.
170 One from Colorado is not a Coloradoan but a Coloradan.
171
172 # Sexism
173 The lady lawyer handled my case.
174 John and Mary married. Now they are man and wife.
175 Chairman Mao was the chairman of the communist party.
176
177 # Punctuation
178 Smith, et. al (2006) said
179
180 # Quoted text
181 John said that I am "very unique."
182 John knows that I am very unique.
183 John knows every unique snowflake is cold.
184
185 # Metadiscourse
186 The preceeding discussion
187
188 # Narcisism, metadiscourse, latin, and hedging
189 The 'take-home message' is that
190 more research is needed
191 The rest of this article argues that, to a certain degree
192 in recent years, an increasing number of psychologists have
193 mutatis mutandis