lectito 0.3.0

Article extraction and readability parsing for Lectito.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
[
  {
    "id": "quietly-magic-adverbs",
    "category": "word_choice",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["quietly", "deeply", "fundamentally", "remarkably", "arguably"],
    "message": "Uses magic adverbs that inflate ordinary claims.",
    "suggestion": "Cut the adverb or replace it with a concrete detail.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Quietly\" and Other Magic Adverbs"
    }
  },
  {
    "id": "delve-and-friends",
    "category": "word_choice",
    "kind": "phrase",
    "severity": "medium",
    "scope": "seed",
    "patterns": [
      "delve",
      "delving",
      "certainly",
      "utilize",
      "leverage",
      "robust",
      "streamline",
      "harness"
    ],
    "message": "Uses overworked AI-assistant vocabulary.",
    "suggestion": "Use a plainer, more specific word.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Delve\" and Friends"
    }
  },
  {
    "id": "tapestry-and-landscape",
    "category": "word_choice",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["tapestry", "landscape", "paradigm", "synergy", "ecosystem", "framework"],
    "message": "Uses ornate nouns where simpler terms are usually clearer.",
    "suggestion": "Name the actual field, system, or relationship.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Tapestry\" and \"Landscape\""
    }
  },
  {
    "id": "serves-as-dodge",
    "category": "word_choice",
    "kind": "phrase",
    "severity": "medium",
    "scope": "seed",
    "patterns": ["serves as", "stands as", "marks", "represents"],
    "message": "Uses a pompous substitute for a direct verb.",
    "suggestion": "Use `is`, `are`, or another direct verb where possible.",
    "source": {
      "file": "tropes.md",
      "heading": "The \"Serves As\" Dodge"
    }
  },
  {
    "id": "negative-parallelism",
    "category": "sentence_structure",
    "kind": "structure",
    "severity": "high",
    "scope": "catalog",
    "patterns": [
      "not X -- it's Y",
      "not because X, but because Y",
      "The question isn't X. The question is Y."
    ],
    "message": "Uses a repeated negative reframe for false contrast.",
    "suggestion": "State the real claim directly.",
    "source": {
      "file": "tropes.md",
      "heading": "Negative Parallelism"
    }
  },
  {
    "id": "not-not-just",
    "category": "sentence_structure",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "Not a bug. Not a feature. A fundamental design flaw.",
      "Not ten. Not fifty.",
      "not recklessly, not completely, but enough"
    ],
    "message": "Builds drama through serial negation before the point.",
    "suggestion": "Remove the countdown and make the claim once.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Not X. Not Y. Just Z.\""
    }
  },
  {
    "id": "self-posed-question",
    "category": "sentence_structure",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["The result?", "The worst part?", "The scary part?"],
    "message": "Asks and immediately answers a rhetorical question.",
    "suggestion": "Fold the answer into a normal sentence.",
    "source": {
      "file": "tropes.md",
      "heading": "\"The X? A Y.\""
    }
  },
  {
    "id": "anaphora-abuse",
    "category": "sentence_structure",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["They assume that", "They could", "They have built"],
    "message": "Repeats the same sentence opening in close succession.",
    "suggestion": "Vary the sentence structure or combine related claims.",
    "source": {
      "file": "tropes.md",
      "heading": "Anaphora Abuse"
    }
  },
  {
    "id": "tricolon-abuse",
    "category": "sentence_structure",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "Products impress people; platforms empower them.",
      "identity, payments, compute, distribution",
      "workflows, decisions, and interactions"
    ],
    "message": "Leans on repeated rule-of-three or extended list rhythm.",
    "suggestion": "Use the list length the content actually needs.",
    "source": {
      "file": "tropes.md",
      "heading": "Tricolon Abuse"
    }
  },
  {
    "id": "worth-noting",
    "category": "sentence_structure",
    "kind": "phrase",
    "severity": "low",
    "scope": "seed",
    "patterns": [
      "it's worth noting",
      "it is worth noting",
      "it bears mentioning",
      "importantly",
      "interestingly",
      "notably"
    ],
    "message": "Uses a filler transition instead of a real connection.",
    "suggestion": "Delete the transition or connect the point to the previous sentence.",
    "source": {
      "file": "tropes.md",
      "heading": "\"It's Worth Noting\""
    }
  },
  {
    "id": "superficial-analyses",
    "category": "sentence_structure",
    "kind": "regex",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "highlighting its importance",
      "reflecting broader trends",
      "contributing to the development",
      "underscoring its role"
    ],
    "message": "Adds a shallow participial analysis that does not explain much.",
    "suggestion": "Replace the phrase with a concrete consequence or remove it.",
    "source": {
      "file": "tropes.md",
      "heading": "Superficial Analyses"
    }
  },
  {
    "id": "false-ranges",
    "category": "sentence_structure",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "From innovation to implementation",
      "From the singularity of the Big Bang",
      "From problem-solving and tool-making"
    ],
    "message": "Uses a `from X to Y` range where the endpoints are not a real scale.",
    "suggestion": "Use a direct list or name the actual range.",
    "source": {
      "file": "tropes.md",
      "heading": "False Ranges"
    }
  },
  {
    "id": "short-punchy-fragments",
    "category": "paragraph_structure",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "He published this. Openly. In a book. As a priest.",
      "Platforms do.",
      "one thought per sentence"
    ],
    "message": "Stacks short fragments for manufactured emphasis.",
    "suggestion": "Combine fragments where they belong to the same thought.",
    "source": {
      "file": "tropes.md",
      "heading": "Short Punchy Fragments"
    }
  },
  {
    "id": "listicle-in-a-trench-coat",
    "category": "paragraph_structure",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["The first", "The second", "The third", "The fourth"],
    "message": "Uses listicle numbering while pretending to be continuous prose.",
    "suggestion": "Use a real list or rewrite the section as connected prose.",
    "source": {
      "file": "tropes.md",
      "heading": "Listicle in a Trench Coat"
    }
  },
  {
    "id": "heres-the-kicker",
    "category": "tone",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "here's the kicker",
      "here's the thing",
      "here's where it gets interesting",
      "here's what most people miss",
      "here's the starting point",
      "here's the deal"
    ],
    "message": "Uses a false suspense transition.",
    "suggestion": "State the point without announcing a reveal.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Here's the Kicker\""
    }
  },
  {
    "id": "teacher-voice",
    "category": "tone",
    "kind": "phrase",
    "severity": "medium",
    "scope": "seed",
    "patterns": ["think of it as", "think of it like", "it's like a", "its like a"],
    "message": "Defaults to a patronizing explanatory analogy.",
    "suggestion": "Use the direct explanation unless the analogy adds precision.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Think of It As...\""
    }
  },
  {
    "id": "imagine-a-world",
    "category": "tone",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["imagine a world where", "in that world"],
    "message": "Uses a generic invitation to futurism.",
    "suggestion": "Describe the actual scenario or outcome.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Imagine a World Where...\""
    }
  },
  {
    "id": "false-vulnerability",
    "category": "tone",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["and yes", "since we're being honest", "this is not a rant"],
    "message": "Uses polished self-awareness as a credibility move.",
    "suggestion": "Keep only the concrete admission or remove the aside.",
    "source": {
      "file": "tropes.md",
      "heading": "False Vulnerability"
    }
  },
  {
    "id": "truth-is-simple",
    "category": "tone",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "the reality is simpler",
      "history is unambiguous",
      "history is clear",
      "the real story is"
    ],
    "message": "Asserts clarity or privileged insight instead of proving the point.",
    "suggestion": "Show the evidence and remove the announcement.",
    "source": {
      "file": "tropes.md",
      "heading": "\"The Truth Is Simple\""
    }
  },
  {
    "id": "grandiose-stakes-inflation",
    "category": "tone",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["fundamentally reshape", "define the next era", "something entirely new"],
    "message": "Inflates stakes beyond what the evidence supports.",
    "suggestion": "Name the specific consequence and its scope.",
    "source": {
      "file": "tropes.md",
      "heading": "Grandiose Stakes Inflation"
    }
  },
  {
    "id": "lets-break-this-down",
    "category": "tone",
    "kind": "phrase",
    "severity": "low",
    "scope": "catalog",
    "patterns": ["let's break this down", "let's unpack", "let's explore", "let's dive in"],
    "message": "Uses teacherly hand-holding.",
    "suggestion": "Begin with the substance instead.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Let's Break This Down\""
    }
  },
  {
    "id": "vague-attributions",
    "category": "tone",
    "kind": "phrase",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "experts argue",
      "industry reports suggest",
      "observers have cited",
      "several publications"
    ],
    "message": "Attributes a claim to unnamed or vague sources.",
    "suggestion": "Name the source or remove the attribution.",
    "source": {
      "file": "tropes.md",
      "heading": "Vague Attributions"
    }
  },
  {
    "id": "invented-concept-labels",
    "category": "tone",
    "kind": "regex",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["supervision paradox", "acceleration trap", "workload creep"],
    "message": "Uses an invented label as if it were an established concept.",
    "suggestion": "Define the issue directly before naming it.",
    "source": {
      "file": "tropes.md",
      "heading": "Invented Concept Labels"
    }
  },
  {
    "id": "em-dash-addiction",
    "category": "formatting",
    "kind": "document",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["--", "—"],
    "message": "Uses many dash pivots or parenthetical interruptions.",
    "suggestion": "Replace repeated dashes with commas, periods, or simpler sentence structure.",
    "source": {
      "file": "tropes.md",
      "heading": "Em-Dash Addiction"
    }
  },
  {
    "id": "bold-first-bullets",
    "category": "formatting",
    "kind": "regex",
    "severity": "medium",
    "scope": "seed",
    "patterns": ["^-\\s+\\*\\*[^*]+\\*\\*:"],
    "message": "Starts list items with the same bold-label pattern.",
    "suggestion": "Use plain bullets or real section headings.",
    "source": {
      "file": "tropes.md",
      "heading": "Bold-First Bullets"
    }
  },
  {
    "id": "unicode-decoration",
    "category": "formatting",
    "kind": "phrase",
    "severity": "low",
    "scope": "catalog",
    "patterns": ["→"],
    "message": "Uses decorative Unicode punctuation or arrows.",
    "suggestion": "Use plain punctuation unless the symbol is meaningful.",
    "source": {
      "file": "tropes.md",
      "heading": "Unicode Decoration"
    }
  },
  {
    "id": "fractal-summaries",
    "category": "composition",
    "kind": "document",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["In this section", "as we've seen in this section", "And so we return"],
    "message": "Repeats preview-summary structure at multiple levels.",
    "suggestion": "Remove summaries that do not add new information.",
    "source": {
      "file": "tropes.md",
      "heading": "Fractal Summaries"
    }
  },
  {
    "id": "dead-metaphor",
    "category": "composition",
    "kind": "document",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["ecosystem", "walls", "doors", "primitives"],
    "message": "Repeats one metaphor until it stops adding meaning.",
    "suggestion": "Keep the best metaphor use and cut the rest.",
    "source": {
      "file": "tropes.md",
      "heading": "The Dead Metaphor"
    }
  },
  {
    "id": "historical-analogy-stacking",
    "category": "composition",
    "kind": "document",
    "severity": "medium",
    "scope": "catalog",
    "patterns": [
      "Apple didn't build Uber",
      "Every major technological shift",
      "Take Spotify",
      "Or consider Uber"
    ],
    "message": "Stacks historical analogies to create false authority.",
    "suggestion": "Use the single comparison that actually supports the argument.",
    "source": {
      "file": "tropes.md",
      "heading": "Historical Analogy Stacking"
    }
  },
  {
    "id": "one-point-dilution",
    "category": "composition",
    "kind": "document",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["same point", "restated eight ways", "rephrases the thesis"],
    "message": "Pads one argument through repeated reframing.",
    "suggestion": "Cut repeated sections that do not add evidence.",
    "source": {
      "file": "tropes.md",
      "heading": "One-Point Dilution"
    }
  },
  {
    "id": "content-duplication",
    "category": "composition",
    "kind": "document",
    "severity": "high",
    "scope": "catalog",
    "patterns": [
      "same section appeared twice",
      "word-for-word identical",
      "same sentence reworded"
    ],
    "message": "Repeats whole sections, paragraphs, or sentences.",
    "suggestion": "Delete duplicated content and keep one version.",
    "source": {
      "file": "tropes.md",
      "heading": "Content Duplication"
    }
  },
  {
    "id": "signposted-conclusion",
    "category": "composition",
    "kind": "phrase",
    "severity": "low",
    "scope": "seed",
    "patterns": ["in conclusion", "to sum up", "in summary"],
    "message": "Announces the conclusion instead of letting the structure close.",
    "suggestion": "Start the final point directly.",
    "source": {
      "file": "tropes.md",
      "heading": "The Signposted Conclusion"
    }
  },
  {
    "id": "despite-its-challenges",
    "category": "composition",
    "kind": "structure",
    "severity": "medium",
    "scope": "catalog",
    "patterns": ["Despite its", "faces challenges", "Despite these challenges"],
    "message": "Uses a rigid concession followed by an optimistic dismissal.",
    "suggestion": "Handle the tradeoff directly and avoid the stock turn.",
    "source": {
      "file": "tropes.md",
      "heading": "\"Despite Its Challenges...\""
    }
  }
]