Request: Detect unlikely combinations of characters
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.
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.
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.