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: 5.9-SNAPSHOT (2022-09-27 20:33:03 +0000)