Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LanguageTools server #52

Open
rhysd opened this issue Nov 24, 2017 · 1 comment
Open

LanguageTools server #52

rhysd opened this issue Nov 24, 2017 · 1 comment

Comments

@rhysd
Copy link
Owner

rhysd commented Nov 24, 2017

LanguageTools has a server implementation. We can spawn server once and send requests to it. It would be much faster than executing one command for each :GrammarousCheck.

#7 (comment)

@oversearch
Copy link

I'm not sure if this is directly what you're referring to, but I thought I'd mention that LanguageTool also allows you to run a self-hosted HTTP API: https://languagetool.org/http-api/swagger-ui/#!/default/post_check

This is nice because you can host it in the cloud or on your own hardware, and have it set up with all the additional models and n-gram data that's available. These features require a lot of memory, CPU, and fast disk to run well. I've got a full LT server running on my beefy home server machine, and the Firefox plugin has excellent performance from my comparatively weak development laptop assigned by my company (well, it's not necessarily weak, but I don't have enough free RAM to spare on LT...).

Being able to use that from within Vim would be excellent, but none of the LT plugins appear support the HTTP API (unless I'm missing one). Might be a good opportunity for grammarous to stand out. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants