LanguageTool Community

<< return to list of rules

Rule "Checks if hyphenated words were spelled with dashes (e.g., 'T — shirt' instead 'T-shirt')."

This is one of many errors that LanguageTool can detect. Visit the LanguageTool homepage to use it online or download it for free.

Description: Checks if hyphenated words were spelled with dashes (e.g., 'T — shirt' instead 'T-shirt').
Category: Typography (ID: TYPOGRAPHY)
Link: https://languagetool.org/insights/post/hyphen/
Tags: [picky]
Incorrect sentences
that this rule can detect:
  • I'll buy a new T—shirt.
    Correction suggestion: T-shirt
Correct sentences
for comparison:
  • I'll buy a new T-shirt.
Pattern: [Java Rule] Sourcecode
Check the following text against just this rule:

ID: EN_DASH_RULE
Version: 6.5-SNAPSHOT (2024-04-25 22:33:07 +0200)