harper README

The project's README from github.com/Automattic/harper. As one markdown file: README.md.

Harper Binaries Website Checks Crates.io NPM Version Downloads Obsidian Plugin Downloads

Harper is an English grammar checker designed to be just right. I created it after years of dealing with the shortcomings of the competition.

Grammarly was too expensive and too overbearing. Its suggestions lacked context, and were often just plain wrong. Not to mention: it's a privacy nightmare. Everything you write with Grammarly is sent to their servers. Their privacy policy claims they don't sell the data, but that doesn't mean they don't use it to train large language models and god knows what else. Not only that, but the round-trip-time of the network request makes revising your work all the more tedious.

LanguageTool is great, if you have gigabytes of RAM to spare and are willing to download the ~16GB n-gram dataset. Besides the memory requirements, I found LanguageTool too slow: it would take several seconds to lint even a moderate-size document.

That's why I created Harper: it is the grammar checker that fits my needs. Not only does it take milliseconds to lint a document, take less than 1/50th of LanguageTool's memory footprint, but it is also completely private.

Harper is even small enough to load via WebAssembly.

Language Support

Harper currently only supports English, but the core is extensible to support other languages, so we welcome contributions that allow for other language support.

Performance Issues

We consider long lint times bugs. If you encounter any significant performance issues, please create an issue on the topic.

If you find a fix to any performance issue, we would appreciate the contribution. Just please make sure to read our contribution guidelines first.

Huge Thanks

This project would not be possible without the hard work from those who contribute.

Harper's logo was designed by Lukas Werner.

harper (Automattic/harper)

Searching Database…

16.6K ·GitHub
Что это такое?Harper — это проверщик грамматики английского языка, написанный на Rust. Он работает офлайн, ориентирован на приватность и выполняется на вашем компьютере, а не отправляет текст на сервер.
Это приложение или то, что подключается к моему редактору?Это движок проверки грамматики с языковым сервером (harper-ls) и сборкой WebAssembly (harper.js). Распространяется в виде интеграций для редакторов и браузеров, а не как самостоятельное настольное приложение.
Как начать пользоваться?Установите его как расширение для нужного редактора: есть официальные интеграции для VS Code, Neovim, Helix, Emacs, Zed и Obsidian. Также можно встроить harper-ls или harper.js непосредственно в свои инструменты.
Нужно ли настраивать сервер или создавать аккаунты, чтобы пользоваться этим?Нет. Harper работает полностью офлайн на вашем компьютере, поэтому аккаунт, ключ API или серверная часть не нужны.
Поддерживаются ли языки, кроме английского?Пока нет: Harper проверяет только английский, хотя базовая архитектура рассчитана на то, чтобы в будущем её можно было расширить на другие языки.
Мой текст когда-нибудь покидает мой компьютер?Нет, Harper полностью приватен и обрабатывает всё локально, а не загружает ваш текст на сервер, как это делает Grammarly.
Почему автор создал Harper, а не использовал Grammarly или LanguageTool?Grammarly был дорогим, навязчивым и отправлял все тексты на свои серверы, а LanguageTool требовал гигабайты оперативной памяти и набор данных объёмом 16 ГБ и работал медленно. Harper создавался для проверки за миллисекунды с использованием малой доли этой памяти и при этом полностью сохранял приватность.
Насколько Harper быстрее и легче LanguageTool?Проверка документа занимает миллисекунды, а объём памяти, который он использует, составляет менее 1/50 от объёма LanguageTool.
Creator
Automattic
Size
43.3 MB
Stars
16.6K
Age
2y
Commits · 90 Days