Skip to content

Feature: Duplicate word detection

Josh Soref edited this page Feb 25, 2024 · 5 revisions

Duplicate word detection

Included in v0.0.20

The classic example is the the quick

Proposal

This is possible using Forbidden patterns:

line_objections.patterns:

/\b([A-Za-z](?:[A-Z]{2,}|[a-z]{2,})\s+\g{-1}\b/

Cons

I fully expect this to have a significant performance penalty (and it has to be done fairly early, before any other parsing...)

Clone this wiki locally