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

Support n-gram data #77

Open
m3gat0nn4ge opened this issue Mar 27, 2019 · 1 comment
Open

Support n-gram data #77

m3gat0nn4ge opened this issue Mar 27, 2019 · 1 comment

Comments

@m3gat0nn4ge
Copy link
Contributor

Hi,

I'd like to use the Google n-gram data but that requires passing the '--languagemodel' option, any chance we can get this option supported?

many thanks

http://wiki.languagetool.org/finding-errors-using-n-gram-data

@mikebarkmin
Copy link

I have create a simple bash script.

#!/bin/bash

java -jar path/to/languagetool-commandline.jar --languagemodel path/to/language-tool-ngram "$@"

Put it in my bin folder and added

let g:grammarous#languagetool_cmd = 'languagetool'

to my vim config.

I hope this helps.

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

No branches or pull requests

2 participants