Automattic / Automattic/harper

Harper should try to detect "the" as a typo for "they"

Open
#3,048 0 comments 0 reactions 0 assignees View on GitHub
enhancement harper-core linting spelling
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 12h
Merged PRs (30d)
106

Description

This is a very common typo, I think it's one I make myself. I just spotted it in a blog:

> When these installers ran on Windows 95, the replaced the Windows 95 versions

Image

Since "the" is in the dictionary, the `SpellCheck` linter can't flag it. It will need a dedicated linter.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing SpellCheck linter and the code or tests that define dedicated linter behavior. Check how spelling exceptions and typo suggestions are represented, then add coverage for cases where “the” should be detected as “they.” Done means the reported blog-style sentence is flagged without treating ordinary uses of “the” as errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.