Skip to content
PASSAGE

Em Dash Density

source

Detect overuse of em dashes across a passage.

Class
EmDashDensityRule
Rule name
em_dash
Count key
em_dash

Behavior

ResultInput textWhy
Flag"The plan works -- quickly -- and scales -- in production."Multiple dash interruptions in a short span.
FlagFrequent " -- " or unicode em dash usage above configured density.Dash rate exceeds expected prose baseline.
PassOccasional em dash used once for emphasis in a long section.Stylistic punctuation remains moderate.
PassPunctuation primarily uses commas and periods with clear sentence flow.No overreliance on dash cadence.

Severity

Low to medium; stylistic alone, but meaningful when persistent.

Default configuration

density_threshold1.0
penalty-3
words_basis150.0

Contributors