Skip to content
SENTENCE

Contrast Pair

source

Detect repeated contrast constructions that stage a binary opposition.

Class
ContrastPairRule
Rule name
contrast_pair
Count key
contrast_pairs

Behavior

ResultInput textWhy
Flag"This is focus, not frenzy."Uses the targeted "A, not B" shape.
Flag"The platform is not only fast but also reliable."Uses the staged "not only X but Y" frame.
Pass"This approach prioritizes focus over speed."Contrast exists, but not in the repetitive pattern form.
Pass"The design reduces complexity while improving clarity."Balanced comparison without slogan-like structure.

Severity

Low per instance, medium when repeated frequently in one passage.

Notes

Detection is purely pattern-based — legitimate contrasts may still be flagged when density exceeds the configured threshold. Adjust advice_min to tune when summary advice appears.

Default configuration

advice_min2
context_window_chars60
penalty-1
record_cap5

Contributors