Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Too many neighbouring pairs of legit words flagged for joining #723

Open
hippietrail opened this issue Feb 19, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@hippietrail
Copy link
Contributor

hippietrail commented Feb 19, 2025

Describe the bug
It's a bit too common to see adjacent words flagged to be joined when it doesn't make sense to do so, just because the result happens to be a word in the dictionary.

Perhaps there should be some blacklists, whitelists, or heuristics. In this case the result of two lowercase words would be Proper nouns. Another heuristic would be if either or both halves are not in the dictionary.

To Reproduce
Steps to reproduce the behavior:

  1. Type in "... as well and the ..."
  2. Or type in "... as he called it"
  3. Or "give me any kind of educated guess"
  4. Notice that "well and" is flagged to join to become "Welland", perhaps a surname or brand name?
  5. Notice that "as he" is flagged to join to become "Ashe", a given name.
  6. Both seem a bit unlikely and far-fetched.
    Expected behavior
    Nothing flagged in those phrases.

Screenshots
Image

Image

Platform
Windsurf (VS Code)

@hippietrail hippietrail added the bug Something isn't working label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant