Skip to content

Feature: Tricolon Detector #73

@craigtrim

Description

@craigtrim

Overview

Tricolon (the rule of three) is one of the strongest AI stylistic tells. LLMs reach for three-part structure as the default skeleton for almost any explanatory or persuasive passage — with anomalously high frequency compared to human writers who use it deliberately and sparingly.

It operates at multiple levels:

Level Example
Word/phrase "Life, liberty, and the pursuit of happiness"
Clause "It's not what you say, it's how you say it, or when you say it"
Sentence "He came. He saw. He conquered."

Detection Approaches

Surface: Oxford comma tricolon

Regex match for X, Y, and Z or X, Y, or Z within a sentence.

Structural: Equal-segment comma split

Sentences containing exactly two commas where each comma-delimited segment is roughly equal in word count. No full syntactic parser needed — this is a pragmatic proxy for clausal tricolon.

Sentential: Three-sentence sequences

Consecutive sentences of similar syntactic class (sentence_types.py simple sentences) and similar length — detects "He came. He saw. He conquered." style tricolon.

Metrics

  • tricolon_density: instances per 1000 words (the key signal — frequency, not presence)
  • oxford_tricolon_count: surface-form list-of-three matches
  • clausal_tricolon_count: equal-segment comma split matches
  • sentential_tricolon_count: consecutive parallel-sentence triples

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions