Zettlr: [FEATURE] SpellCheck Grammalecte and Antidote

Created on 24 Apr 2020  Â·  13Comments  Â·  Source: Zettlr/Zettlr

Hello everybody and thinks you for Zettlr, I love this program.

Description

In a lot of word processors (MSOffice Word and LibreOffice), we have the possibility to have advanced grammar checkers. Personally, I use Grammalecte and Antidote. Grammalecte works for French and Antidote for French and English.


Example Workflow

We have different possibilities :

  • right-click and in the contextual menu we have options for correct text : select all text and open in Antidote/Grammalecte
  • We have a button on the nav bar to select all text and open with Antidote Grammalecte

Caveats

Antidote (and Grammalecte) Need to be installed on the computer.

Additional Information

  • Antidote API documentation
  • I know that Grammalecte have a CLI Mode...
  • I have tried to implant on a webpage Grammalecte and Antidote, it's easy in JS version. I don't know Electron, I don't know if it's also easy to implant.
feature low stale

Most helpful comment

LanguageTool might be a better Open Source Grammar checker to target -- it's available for more than 20 languages: see https://languagetool.org/. It's Java, but can run as a server on your computer, with communication with it via http http://wiki.languagetool.org/http-server. There have been some attempts to provide a JS API -- but they look unfinished: see e.g. https://www.npmjs.com/package/languagetool-api

All 13 comments

Are these programs Open Source? This would be a fundamental precondition in order for Zettlr to implement it! But the idea is certainly worth exploring, yes!

Grammelecte yes, but antidote no (it's the only not open source software on my computer)

Hmhm, is Grammelecte under development? Open Source does seem to indicate that more languages would be possible, which is a good sign!

Additionally: Are there any potential alternatives? Even node.js-only modules (without a GUI) would be perfect! If you could do some research, this would be awesome!

Yes, Grammelecte is under development (and it is active). NodeJS version seems to be.

LanguageTool might be a better Open Source Grammar checker to target -- it's available for more than 20 languages: see https://languagetool.org/. It's Java, but can run as a server on your computer, with communication with it via http http://wiki.languagetool.org/http-server. There have been some attempts to provide a JS API -- but they look unfinished: see e.g. https://www.npmjs.com/package/languagetool-api

It's Java

*not coding in Java*

*feels good*

*Looks up Java memes and finds this*

image

*remains quiet ever after*

I like _language tool_, but as it is Java-based, write good (en) and schreib gut (de) might be at least OK alternatives, since they are Javascript based and seem to be relatively easy to extend.

@nathanlesage maybe change the title of this issue to "integrate grammar and stylechecker" or open another issue with that title and forward from this one?

@jdittrich hmm, let's keep this issue right now. Because during the last week I've more and more been thinking about integrating a Unified.js pipeline for Markdown linting, which we should be able to easily extend with features for grammar checking, spellchecking, etc. — the ecosystem already offers a lot of stuff out of the box, so maybe this is a better alternative as it would allow us to keep dependencies minimal (only 1 pre-processor pipeline for a lot of stuff) and also modular

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

+1 for language tool, it is java-based but it provides wonderful suggestions. Having LanguageTool support would enable me to switch from Ulysses to Zettler as my primary writing app.

Aaand moved up the ladder

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed due to inactivity. If you believe that this issue is relevant for many users and should not be closed, feel free to comment so that the admins will be notified.

Was this page helpful?
0 / 5 - 0 ratings