Rhetorical Devices
Chiasmus
Detect inverted parallelism — the A-B-B-A rhetorical pattern.
What It Does
Identifies chiasmus in adjacent clauses or sentences by comparing content word sequences: if the meaningful words in one clause appear in reversed order in the next, it's flagged as a potential chiasmus.
Why It Matters
Chiasmus is one of the oldest and most memorable rhetorical structures:
- "Ask not what your country can do for you — ask what you can do for your country." (JFK)
- "When the going gets tough, the tough get going."
- "You forget what you want to remember, and you remember what you want to forget." (Cormac McCarthy)
The A-B-B-A inversion creates a sense of balance, reversal, or irony. In fiction, chiasmus can highlight thematic contrasts or create aphoristic dialogue. This analyzer detects potential instances so you can assess whether the pattern is intentional.
What Gets Flagged
Potential Chiasmus
Severity: Information
Example (flagged):
Chiasmus: possible inverted parallelism (A-B-B-A pattern) detected
Input:
She loved the silence; the silence loved her.
How it works:
- The analyzer extracts content words from adjacent clauses (filtering stop words and punctuation)
- Clause 1 content words: ["loved", "silence"]
- Clause 2 content words: ["silence", "loved"]
- The sequence is reversed → chiasmus detected
Filtering
- Stop words (the, a, and, is, etc.) are removed before comparison
- Punctuation is ignored
- Both intra-sentence (clause-to-clause) and inter-sentence comparisons are performed
Configuration
No configuration options.
Technical Details
- Source:
prose-craft - Scope: Sentence/clause-level (adjacent pairs)
- Method: Content word extraction; sequence reversal comparison; stop word filtering