Skip to content

fix: "steamer that" no longer flagged as typo - #3903

Merged
hippietrail merged 2 commits into
Automattic:masterfrom
hippietrail:than-that-3902
Jul 28, 2026
Merged

fix: "steamer that" no longer flagged as typo#3903
hippietrail merged 2 commits into
Automattic:masterfrom
hippietrail:than-that-3902

Conversation

@hippietrail

Copy link
Copy Markdown
Collaborator

Issues

Fixes #3902

Description

"that steamer" was flagged as a typo for "than steamer".
This was due to a leftover artefact of the Hunspell origin of Harper's dictionary.
In Hunspell a single annotation flag added "-er" to words.
In Harper, this annotation was extended to assign a "comparative" property to resulting words when the base word included an adjective annotation. Most dictionaries don't include an adjective sense for "steam" but Collins and Wiktionary do.
Efforts were made to remove any of those which were not on adjectives but it was difficult to automate so some words slipped through.

The annotation flag, now > was simply removed as we already had a separate entry for "steamer" that was correctly annotated.

How Has This Been Tested?

Added the sentence from the bug report as a new test and verified that just test still passes.

AI Disclosure

  • I am a human and didn't use any AI.
  • I used LLM features of my editor, but not an agent.
  • I used an AI agent interactively.
  • I am an agent or I got an agent to do the work autonomously.

If Your PR Implements or Enhances a Linter

  • I made up the sentences in the unit tests.
  • The sentences in the unit tests were generated by an AI.
  • I'm using examples from the bug report / feature request.
  • I collected real-world sentences for the unit tests.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • I have considered splitting this into smaller pull requests.

@hippietrail hippietrail added linting Related to lint rules and linter execution dictionary Modification to or question about the curated dictionary labels Jul 28, 2026
@hippietrail
hippietrail enabled auto-merge July 28, 2026 18:41
@hippietrail
hippietrail added this pull request to the merge queue Jul 28, 2026
Merged via the queue into Automattic:master with commit 37c59fb Jul 28, 2026
12 checks passed
@hippietrail
hippietrail deleted the than-that-3902 branch July 28, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dictionary Modification to or question about the curated dictionary linting Related to lint rules and linter execution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"that" is identified as misspelled in the sentence "A fish steamer that spans two burners is essential."

1 participant