harper icon indicating copy to clipboard operation
harper copied to clipboard

Correct words based on context

Open ecairol opened this issue 4 weeks ago • 0 comments

What problem does this solve? I would like Harper to correct based on context. Here's a quick example, I wrote (on purpose): "one two tree four feverr"

It won't correct tree to three and it will correct fiverr to fiver, so it doesn't understand I'm counting from 1 to 5. This is a simple example that can expand to more complex cases where the semantics of the whole phrase means something.

Proposed Solution Not sure from a technical perspective, buy maybe a quick decision model can first check if the whole sentence has a meaning and then correct taking that into account?

Examples

Image

Component

  • [x] Core engine
  • [ ] Plugin/Extension
  • [ ] Other: _____

Additional Context Any other relevant info.

ecairol avatar Nov 05 '26 13:11 ecairol