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

add languagetool #142

Closed
obw opened this issue Aug 30, 2017 · 2 comments
Closed

add languagetool #142

obw opened this issue Aug 30, 2017 · 2 comments
Milestone

Comments

@obw
Copy link
Contributor

obw commented Aug 30, 2017

I have use LibreOffice with the languagetool Plugin for writing the last Years!

It's a great Help to make the writing better

@TheJackiMonster
Copy link
Collaborator

As mentioned in #745, there are already some good looking python bindings and there is an open http-api. So it should be able to integrate it even without difficult setup. ^^

@TheJackiMonster
Copy link
Collaborator

Peek 2020-03-29 04-51
Okay, I got this for basic grammar-correction and some stylistic information which can not be corrected via menu but manually. ^^'

I managed to implement it without to much messing around, I think. It checks if the module for Python ("language_check") is installed and uses it as new implementation of dictionaries. The other dictionaries had to get some new methods to make sure everything works without errors and such since LanguageTool is way more advanced than Enchant and others.

At the moment I have added three different error-visuals (underlining-colors) for "misspelling", "grammar / typographical" and "other". There is still much work to do, so that errors are all marked correct and this tool is still pretty slow. One thing I found out during testing is that the method to highlight the text is called more than once for the same text. So there is still much which can be optimited... ^^'

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

3 participants