repeats
Repeated phrases of several words. Shorter phrases that only occur inside a longer repeat are folded into it.
bluepencil repeats --min 2 --max 5 --locations
Options
--min,--maxphrase length in words--count Nminimum occurrences--locationslist every occurrence
Add --json for machine-readable output.