Automattic / Automattic/harper

SplitWords incorrectly suggests misspelled word should be split

Open
#3,254 2 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
15.4k
Forks
627
Avg merge
1d 15h
Merged PRs (30d)
106

Description

**Describe the bug**
When I typo "occurred" as "occured", harper suggests writing "occur ed" instead.

**To Reproduce**
Steps to reproduce the behavior:
1. Type "occured"

**Expected behavior**
Harper should suggest "occurred" as a spelling correction

**Screenshots**
Image

**Platform**
Neovim

**Additional context**
There may be other cases where this is causing issues

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the "occured" case in the Neovim integration and trace the SplitWords suggestion. The work is done when the typo suggests "occurred" as a spelling correction instead of splitting it into "occur ed", with other affected cases checked as well.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.