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

Request: Detect unlikely combinations of characters #354

Open
glocalglocal opened this issue Nov 23, 2024 · 2 comments
Open

Request: Detect unlikely combinations of characters #354

glocalglocal opened this issue Nov 23, 2024 · 2 comments

Comments

@glocalglocal
Copy link

It would be great if this plugin could detect unlikely combinations of characters as likely spelling mistakes. Eg

  • multiple spaces between words, between a word and a punctuation mark, or a word and a symbol, etc eg word word, word ., 12.3 %, word) .
  • multiple or impossible combinations of punctuation marks eg word ,., word.., word1,, word2
  • repeated word eg word word
  • redundant spaces at the end of a line.
  • double or triple minus instead of n-dash and m-dash

Strictly speaking, this could be the job for a linter or a grammar checker, but I couldn't find another plugin doing any of this. It may not be difficult to add this functionality and it would make a big difference.

@Predelnik
Copy link
Owner

Predelnik commented Jan 28, 2025

Unfortunately I think it's mostly out of scope, it's basically having separate regex or something similar based spell-checker on top of current one.

However, I had an idea to add a support for languagetool, as you can see in my image below, it does support at least some of suggested scenarios. Might be useful to prioritize it then.
Image

@glocalglocal
Copy link
Author

The problem is many of us will not want to upload text to someone else's cloud eg for privacy or other reasons. Languagetool supported self-hosting but I think they discontinued it. WritingTool for LibreOffice works locally and supports local AI too.

A linter plugin may be more appropriate after all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants