dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

Spellcheck

Open devSJR opened this issue 1 year ago • 4 comments

Speech note is an excellent software that can solve a lot of my tasks. A small improvement proposal on my part would be the implementation of a spell check (e.g., Hunspell, Aspell) in the notepad. This would be very useful, for example, if you want to have text translated and make sure that there are no unnecessary errors before translation due to small typos. Probably the best solution would be an integration of grammar checks via LanguageTool (remote API or local server).

devSJR avatar Aug 15 '23 12:08 devSJR

Thanks for the ideas 👍🏿

Adding to the roadmap:

  • spell checker/corrector

Probably the best solution would be an integration of grammar checks via LanguageTool (remote API or local server)

LanguageTool seems to be a great tool but the goal is to work offline, so remote API is not an option. Lucky there are languages models for grammar correction that can be run locally. I'm looking at https://huggingface.co/models?search=grammar and trying to figure out how to integrate them into Speech Note.

mkiol avatar Aug 16 '23 15:08 mkiol

Thanks for considering it!

One remark about LanguageTool. I am also a huge fan of offline software. Therefore, I am using LanguageTool. It powers grammar and spelling in LibreOffice and I use it too as a desktop app to check my markdown, LaTeX et al. files. Even with ngrams. No remote API required for grammar, spelling and style checking. This works by invoking java -jar LanguageTool.jar from https://languagetool.org/download/. However, sentence suggestions are only working with the remote API indeed.

However, I get your point regarding huggingface. Either of them will mean a lot of work.

devSJR avatar Aug 16 '23 16:08 devSJR

+1 I think this would be a great feature. Great app BTW, i use it every week.

JamesClarke7283 avatar Sep 14 '23 06:09 JamesClarke7283

Thanks for the ideas 👍🏿

Adding to the roadmap:

* spell checker/corrector

Probably the best solution would be an integration of grammar checks via LanguageTool (remote API or local server)

LanguageTool seems to be a great tool but the goal is to work offline, so remote API is not an option. Lucky there are languages models for grammar correction that can be run locally. I'm looking at https://huggingface.co/models?search=grammar and trying to figure out how to integrate them into Speech Note.

BTW, what about sonnet? Might this library be an option for spell check?

https://api.kde.org/frameworks/sonnet/html/index.html

devSJR avatar Dec 15 '23 10:12 devSJR