this post was submitted on 23 Sep 2023
21 points (83.9% liked)

Open Source

31114 readers
1 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
top 7 comments
sorted by: hot top controversial new old
[–] ReversalHatchery@beehaw.org 15 points 2 years ago

The browser addon is not anymore, and they were kind of hostile responding to questions regarding that.

The server software's open source version also only supports the free tier's features. There was a fork that was supposed to add the paid features, but it's not maintained.

[–] Helix@feddit.de 11 points 2 years ago (1 children)

Yes, it's still open source: https://github.com/languagetool-org/languagetool

And yes, it's worth it. However I think that LLaMA based ML models supplementing LanguageTool will be the future.

[–] Even_Adder@lemmy.dbzer0.com 0 points 2 years ago
[–] PeachMan@lemmy.one 3 points 2 years ago

Worth what? It's free! And yes, it's open source. It can also be self-hosted if you're paranoid.

[–] nutbutter@discuss.tchncs.de 3 points 2 years ago (1 children)

I self-host it in a docker container. You will have to download abour 4 gigabytes of "n-gram" data. And there are no AI features in the self-hosted version.

[–] gonzoknowsdotcom1@monero.town 2 points 2 years ago (1 children)
[–] nutbutter@discuss.tchncs.de 2 points 2 years ago* (last edited 2 years ago)

Here's my podman-compose.yml file (you can use this as you docker-compose file as well):

version: "3"

services:
  languagetool:
    image: erikvl87/languagetool:latest
    container_name: languagetool
    ports:
        - 8010:8010  # Using default port from the image
    environment:
        - langtool_languageModel=/ngrams  # OPTIONAL: Using ngrams data
        - Java_Xms=512m  # OPTIONAL: Setting a minimal Java heap size of 512 mib
        - Java_Xmx=1g  # OPTIONAL: Setting a maximum Java heap size of 1 Gib
    volumes:
        - path/to/ngrams:/ngrams
    restart: always

Just download the ngrams from this link and change the path in the file. You can use this with a Firefox or Thunderbird addon. Go to the advanced settings in the addon preferences and add http(s)://YOUR_IP_OR_DOMAIN/v2 in the other server option.

References: