Bug 422444 - Support for LanguageTool
Summary: Support for LanguageTool
Status: REOPENED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: Git
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-04 10:03 UTC by Erik Quaeghebeur
Modified: 2024-01-13 12:39 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:
4wy78uwh: performance-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2020-06-04 10:03:25 UTC
LanguageTool is a very nice open-source spelling and grammar checker <https://www.languagetool.org/>. It supports both on-line (text sent to their server) and off-line (sent to local installation) functioning <https://www.languagetool.org/compare>.
(I prefer not sending my text to a server, but I do not know how hard it is to support either.)

It would be nice to be able to use it from Kate (and therefore from Kwrite, Kile, etc.)

Bug 410068 prompted (on-line) LanguageTool support to be added to Lokalize.
Comment 1 Christoph Cullmann 2023-08-03 20:09:50 UTC
I don't see us supporting that. Sending text to some online service is not what we want and running that locally as server is out of scope for us.
Comment 2 Ilya Bizyaev 2023-08-04 11:35:08 UTC
Think of it as LSP for text: it's the same kind of service running locally and within Kate's scope.
Comment 3 Christoph Cullmann 2023-08-04 12:18:12 UTC
Then they can create a LSP server variant if they care, but for me that more looks like they focus on get your data or sell accounts. If they provide an LSP server it will work out of the box.
Comment 4 Ilya Bizyaev 2023-08-04 16:03:12 UTC
How would they get your data or sell accounts if you're running a server locally?

LanguageTool is a rather respected open source project, it's been around for years, so I don't understand your attitude towards it. This VSCode integration for it alone has over 200000 installs: https://marketplace.visualstudio.com/items?itemName=adamvoss.vscode-languagetool.

Of KDE projects, Lokalize provides LanguageTool integration.
Comment 5 Roke Julian Lockhart Beedell 2023-08-06 14:51:16 UTC
(In reply to Christoph Cullmann from comment #1)
> I don't see us supporting that. Sending text to some online service is not
> what we want and running that locally as server is out of scope for us.

What? That's like saying that NeoChat supporting Matrix would entail data to being sent online, whereas it's well-known that it's not whatsoever impossible to host a server locally.
Comment 6 Hannes H 2023-09-14 18:14:36 UTC
I would very much like to see this, as well. I have been running a local LanguageTool server for ages (just like I run LSP locally). There are plugins for Firefox, Thunderbird, LibreOffice, TexStudio... this is really a normal part of the ecosystem. Why would KDE be opposed to this?
Comment 7 Roke Julian Lockhart Beedell 2023-09-22 17:27:24 UTC
(In reply to Hannes H from comment #6)
> I would very much like to see this, as well. I have been running a local
> LanguageTool server for ages (just like I run LSP locally). There are
> plugins for Firefox, Thunderbird, LibreOffice, TexStudio... this is really a
> normal part of the ecosystem. Why would KDE be opposed to this?

bugzilla@soulrebel.in-berlin.de, read https://discuss.kde.org/t/is-network-connectivity-for-any-purpose-in-kate-problematic/5352/2?u=rokejulianlockhart. I'm not sure even what to say, honestly. Some of the responses seem like the kind of stuff I'd hear on Alex Jones' podcasts.
Comment 8 Ilya Bizyaev 2023-09-22 18:12:54 UTC
Don't tell them that KMail supports LanguageTool, or they'll freak out :)
https://docs.kde.org/stable5/en/kmail/kmail2/configure-plugins.html
Comment 9 Ilya Bizyaev 2023-12-02 19:38:58 UTC
Apparently, the implementation is already in KTextAddons, so Kate doesn't have to invent much here:
https://invent.kde.org/libraries/ktextaddons/-/tree/master/textgrammarcheck/languagetool
Comment 10 Matija Šuklje 2024-01-13 07:10:28 UTC
In addition, you can host LanguageTool on your own server (it’s FOSS!) or even locally on your PC/laptop.