vim-LanguageTool
vim-LanguageTool copied to clipboard
Option to use fasttext and local n-gram language model?
Hi. I have languagetool
installed. According to java -jar languagetool-commandline.jar --help
, there are several options --fasttext-model
, --fasttext-binary
and --lanugagemodel
that extend the ability of languagetool
. However, I found no vim option (at least in README) to specify these command line options. Any help is appreciated!
Probably I can add manually to LanguageTool.vim:256?
Hi, I think that it can be a hack.
But adding a g:languagetool_command_options
options might be better.
Thanks for pointing this out! I tried to add the fasttex and ngram but I was wondering what's the benefit of incorporate those models in Vim mode (the way it worked with Vim)?
I don't know how this plugin works in detail, but by including an n-gram language model, there are normally more results from LanguageTool based on the (large) n-gram model. More info here: https://www.google.com/search?client=firefox-b-d&q=ngram+languagetool