LanguageTool Community

<< return to list of rules

Rule "Missing hyphens in compounds"

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

Description: Missing hyphens in compounds
Message: When a number forms part of an adjectival compound, use hyphens.
Category: Punctuation (ID: PUNCTUATION)
Incorrect sentences
that this rule can detect:
  • Rudolph is a two year old reindeer.
    Correction suggestion: two-year-old
  • She is an adorable 29 year old cat.
    Correction suggestion: 29-year-old
Correct sentences
for comparison:
  • Rudolph is two years old.
  • Rudolph is two years old actually
  • It is located one hour's drive from Barcelona.
Pattern: Show XML · Show in Rule Editor
Check the following text against just this rule:

Version: 6.5-SNAPSHOT (2024-06-11 22:33:07 +0200)