I Found a New Open Source Grammar Checker Tool And I Like it... Well... Kind of

Sometime simple is better. This new open source grammar checker is what we need in this age of data collection and AI.
Warp Terminal

When it comes to grammar checking, Grammarly is the premium tool for it. It's a proprietary tool and it was among the first one to make a mark as a web-based Grammar checking tool.

Then there is LanguageTool (partner link). This is the tool that we use here in our team. It is/was open source, made in Germany and offers hosted service for free or for a price (you get additional features). LanguageTool was acquired a couple of years back and since then it's privacy policy has changed as it processes data on US servers, instead of European ones.

Recently, I came across a new grammar checker tool, Harper, and I am sharing my experience and my views on this new open source tool.

Meet Harper, a local first open source grammar checker

Harper is a new project coming from Automattic developer, Elijah Potter. Automattic is the company behind WordPress, world's most popular Content Management System (CMS).

The idea is to have a local first tool that doesn't depend on the cloud for any processing or stores away the data. That's a W right there.

Harper is currently available as browser extension and plugin for Obsidian and VS Code. It is a new project and I hope they release more extensions, specially for LibreOffice, in the future.

I tried the Firefox add-on and tested it while writing this review itself.

Features that I like

Now, Firefox already has a built-in spell checker and I believe Chrome and other browsers may also have it. So, do we need a third-party browser extension for this purpose? The short answer is yes.

The built-in spell checker in Firefox is limited. It will underline even when you use a brand name. It is essentially a spell checker and hence it just checks for spelling mistakes. It won't warn you if you use "the the" two times in row. It won't warn you even if you write 'an pineapple'.

Harper detects incorrect use of a/an and repeated words
Harper is definitely msarter than the default spellchecker of your web browser

Harper does these things and it does that without interacting with a central server. Everything is processed locally.

Here's what Harper is capable of:

  • Spell checking (obvious)
  • Spotting repetition (example, double the the)
  • Spotting multiple simultaneous spaces in a sentence
  • Save words to dictionary (excellent)
  • Correcting the use of a/an
  • Common misused words like "despite of" which should be "in spite of" or "despite" or "its/it's"
  • Styling issue with comma usage

Another interesting feature is that Harper uses different colors for different type of mistakes. This way it is easier to visualize the mistakes and their types.

Harper uses different color for different type of grammatical mistakes

The option to add strangely spelled words into the local dictionary is an excellent feature.

Use the save to dictionary option in Harper
Save special words in your local dictionary

You can access this local dictionary by accessing the extension settings.

Access harper extension settings

And this is where you'll see various settings that you can change. You can even bring your custom dictionary as long as the words are in their own line.

You can also choose between American, British, Canadian, and Australian English dialect.

Harper extension settings
Harper extension settings
πŸ“‹
As you can see, it seems Harper only supports English language at the time of writing this article.

There are also a huge list of rules that detects errors like "along time" and suggest "a long time" as the alternative. The list is huge and that's why there is the option to search for a rule.

There is no option to add your own rules though.

Fast but how fast, really?

Harper claims to be faster than both Grammarly and LanguageTool. I don't have data to prove it. But I can show you this video in which I show how quickly Harper gets into action as I type.

0:00
/0:28

Since the processing is local, the suggestions are pretty fast actually.

Harper is not perfect, of course

For example, here I deliberately mistyped "video in" as "videoin" and Harper didn't suggest it as one of the possible correct options.

And I think it limits itself to suggest maximum three suggestions or the most it can fit in a line.

Harper doesn't suggest all possible suggestions
Harper offers limited suggestions

Another thing is that Harper is not as intelligent as I would want it to be. I am an excellent tester for grammar tools. I make so many mistakes and on so many levels that even the best grammar checkers throw in the towel.

That's why I tested Harper against LanguageTool with a sentence with multiple grammatical issues.

Harper was primarily so focused on the spelling of Wikimedia and Cloudflare that it forgot to point out other grammatical mistakes.

Harper focuses more on spelling mistakes than grammar

The weird thing is that both Cloudflare and Wikimedia were correctly spelled. Usually, Harper is good at recognizing brand names, except in this case where it made two false positives in a single sentence.

On the other hand, LanguageTool did indicate that there are some grammatical mistakes worth looking for.

LanguageTool focuses on spelling mistakes as well

Neither could correct the sentence entirely, as the correct sentence I was aiming for was:

Grammarly, LanguageTool, and Cloudflare went to a bar run by Wikimedia but it was closed, so they went to Wikipedia.

Yeah! I know. No AI can guess what goes in my mind when I make these typos. It takes real intelligence to deal with such stupidity 😜

At least in Ghost, the CMS I use to publish content on It's FOSS, sometime the suggestions tooltip wouldn't close until I start typing something. It's minor but annoying.

Conclusion

Both Grammarly and LanguageTool have evolved to writing assistant with AI features.

But here's the thing. Sometime simplicity is the best feature you look for. Not everyone is a professional writer looking for additional features to improve their work.

For a casual user, a no-fluff, simple grammar checker is more than sufficient to save them from embarrassing typos and grammatical mistakes in their emails.

And Harper is an excellent choice at that. It is definitely better than your browser's built-in spell checker, it is an open source software and it processes your data locally.

If you are not dependent on a more professional tool like LanguageTool or Grammarly, you should definitely 'upgrade' to Harper.

It's FOSS turns 13! 13 years of helping people use Linux ❀️

And we need your help to go on for 13 more years. Support us with a Plus membership and enjoy an ad-free reading experience and get a Linux eBook for free.

To celebrate 13 years of It's FOSS, we have a lifetime membership option with reduced pricing of just $76. This is valid until 25th June only.

If you ever wanted to appreciate our work with Plus membership but didn't like the recurring subscription, this is your chance πŸ˜ƒ

Get Lifetime Membership of It's FOSS
About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 13 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries πŸ•΅οΈβ€β™‚οΈ

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.