LanguageTool Community

<< return to list of rules

Rule "Missing hyphens in '5 year old'"

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 '5 year old'
Message: In this expression, '\1-\2' is used as a modifier. It is therefore usually hyphenated.
Category: Punctuation (ID: PUNCTUATION)
Link: https://languagetool.org/insights/post/hyphen/#hyphenated-numbers-and-fractions-numerals
Incorrect sentences
that this rule can detect:
  • All 5-year olds were preparing for pre-school.
    Correction suggestion: 5-year-olds
Pattern: Show XML · Show in Rule Editor
Check the following text against just this rule:

ID: YEAR_OLD_HYPHEN [2]
Version: 6.5-SNAPSHOT (2024-05-02 22:33:08 +0200)