Live data from Hacker News

Language Tool – Open-source Grammarly alternative

languagetool.org

61–70 of 76 posts

Re: Language Tool – Open-source Grammarly alternative

#61
post #36

The premium version has a semi-hidden AI suggestion feature. If you double click a word it will select the whole sentence and suggest rewrites that are more formal or shorter. I've found the AI feature great for inspiration.

I use both Grammarly and LT. I wish LT had an option to select the desired tone like Grammarly does. The formal one is occasionally useful but is waaay too formal for regular work-related communications (at least in the US).

Re: Language Tool – Open-source Grammarly alternative

#62
I have been a user of the Language Tool API as we're building (experimenting with?) a language learning app [1] and grammar correction is a key component. I really want to love it, and I'm so appreciative of the open source version that has allowed us to get going, but it's just so... limited. I haven't really dug into the code, but I gather that it is very rules based and that seems destined to fail because so much of language is context sensitive.

For example, it really can't determine in German if you're using the correct case or not for a particular verb. Or it can't really tell if you're using the right prepositions.

Ultimately, we ended up building a grammar engine just for language learners using transformers [2] + a version of errant [3] we ported to be multilingual. It's not perfect, but after a couple weeks of development was more helpful than LT.

1. https://squidgies.app

2. e.g. this paper from Grammarly https://arxiv.org/abs/2005.12592, but there are a bazillion others

3. https://github.com/chrisjbryant/errant

Re: Language Tool – Open-source Grammarly alternative

#63
post #62

I have been a user of the Language Tool API as we're building (experimenting with?) a language learning app [1] and grammar correction is a key component. I really want to love it, and I'm so appreciative of the open source version that has allowed us to get going, but it's just so... limited. I haven't really dug into the code, but I gather that it is very rules based and that seems destined to fail because so much…

>after a couple weeks of development was more helpful than LT

Wow! If your results generalize to all cases why shouldn’t they scrap everything they have and start over?

Re: Language Tool – Open-source Grammarly alternative

#64
post #62

I have been a user of the Language Tool API as we're building (experimenting with?) a language learning app [1] and grammar correction is a key component. I really want to love it, and I'm so appreciative of the open source version that has allowed us to get going, but it's just so... limited. I haven't really dug into the code, but I gather that it is very rules based and that seems destined to fail because so much…

> after a couple weeks of development was more helpful than LT Wow! If your results generalize to all cases why shouldn’t they scrap everything they have and start over?

Apologies - this wasn't clear. I didn't mean to say we generalize to all cases. I should have said it was more helpful for some of the common cases that plague language learners.

Re: Language Tool – Open-source Grammarly alternative

#65

I'm fond of Vale, where you can write your own rules or grab others off github. I wish we could crowd source a grammarly clone using it. Some efforts have been made to do so, but didn't get far. https://github.com/errata-ai/vale https://github.com/testthedocs/Openly

LT does have the functionality to add your own tools, and is open source and self-hostable

LanguageTool is based on a pretty powerful open-source tool, that's running in the cloud but can also be run on-prem. So, no need to reinvent the wheel.

Re: Language Tool – Open-source Grammarly alternative

#66
post #15

It looks like it provides out of the box support for Overleaf! (Collaborative LaTeX editor) https://www.overleaf.com/blog/635-languagetool-a-free-browse... This is not true of Grammarly last I checked, you have to hack something together... (e.g. https://medium.com/@tardijkhof/how-i-made-grammarly-seamless... )

This is correct, there's first-class Overleaf support. https://languagetool.org/overleaf

Re: Language Tool – Open-source Grammarly alternative

#67

> "Who that is." > No problems found. Hmm.. maybe early days for English. If it's purely rule based, it probably be enough to catch issues like this broken fragment.

Well, if you're writing in fragments only…

It finds four (valid) issues in the rest of your comment, though. So, maybe you should give it a shot for a few days. See what it can really offer you.

Re: Language Tool – Open-source Grammarly alternative

#68

No Android or Linux app. Subscription is high (like others have said). Appears no offline version (might be wrong) and the text is stored on their servers be default unless you manually delete it. I'll not be using it but good effort though.

There is surely a version for Linux. I have been using it in my computer with Archlinux [1] for a couple of years with vim (there are at least two plugins [2,3]). It works pretty good. The only thing is that when running it locally it kind of uses a lot of resources. So not so good when you are with your laptop running on battery.

[1] https://archlinux.org/packages/community/any/languagetool/ [2] https://github.com/dpelle/vim-LanguageTool [3] https://github.com/rhysd/vim-grammarous

Re: Language Tool – Open-source Grammarly alternative

#69
post #62

I have been a user of the Language Tool API as we're building (experimenting with?) a language learning app [1] and grammar correction is a key component. I really want to love it, and I'm so appreciative of the open source version that has allowed us to get going, but it's just so... limited. I haven't really dug into the code, but I gather that it is very rules based and that seems destined to fail because so much…

Making too good open-source solution would ruin the business model of these guys. I bet that most of the meaningful features are not included there. (I haven't looked into the code, just pricing).

Re: Language Tool – Open-source Grammarly alternative

#70
post #49

I'm a heavy user of LT. Very happy with it. A really nice feature of LT is that you can add your own rules. A rule editor is provided here: https://community.languagetool.org/ruleEditor2/ Basically, whenever you catch an error in your writing you add a rule to ensure that it is caught the next time. After a few years your rule set will catch a large portion of your writing errors. It's fun too.

Can you provide examples of rules you have written?

Sure, here are two, but I have hundreds. The second one triggers quite often for me.

The art is trying to writing a rule without too much false positives. False positives are myriad. Probably 60% of warnings are false positives, so you don't want to add too much more to that. On a typical document, I can get ten pages of errors, fortunately, going through it goes quite fast.

comprise be comprise be The thingy may comprise be configured to do things. The thingy may be configured to do things.

arranged|configured to You followed arranged to or configured to with a gerund. The thing is arranged to replacing the other thing. The thing is arranged to replace the other thing.

Post reply on HN