LanguageTool Community

<< return to list of rules

Rule "Hyphen, n-dash and m-dash"

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

Description: Hyphen, n-dash and m-dash
Message: If this is a parenthetical clause, finish it with an em dash.
Category: Punctuation (ID: PUNCTUATION)
Link: https://languagetool.org/insights/post/dashes/#how-to-properly-use-an-em-dash
Tags: [picky]
Incorrect sentences
that this rule can detect:
  • …— as aforementioned -,…
    Correction suggestion:
Correct sentences
for comparison:
  • A better or more prestigious quality or status: A-, A or A+
  • Sometimes the syndrome is divided into low-, medium- or high-functioning autism
  • --------, Schopenhauer, The Human Character.
  • Most operators (e.g., +, -, *, /) treated this as an integer, but others treated it as a memory address to be dereferenced.
  • -10k
  • - Milestone -
Pattern: Show XML · Show in Rule Editor
Check the following text against just this rule:

ID: DASH_RULE [4]
Version: 6.5-SNAPSHOT (2024-04-24 22:33:07 +0200)