Menu

#1988 LanguageTool arguments not properly commited

None
works-for-me
nobody
None
1
2016-12-28
2016-12-05
Anonymous
No

Hi,

Btw. (languagetool 3.5 so should still work with both apis)

i uses the mentoid method from [bugs:#1687] to include ngram in TeXstudio, but when i add

--config ~/.languagetool.cfg

TeXStudio wont start the languagetool server.

Without adding this arguments it works fine but doenst use the ngram features.

I tryed starting the server with
java -cp /pathTo/LanguageTool-3.5/languagetool.jar org.languagetool.server.HTTPServer -p 9999 --config ~/.languagetool.cfg

and opened TeXStudio after, then he recognizes the ngram mistakes and everything works fine

Thanks for helping

Related

Bugs: #1687

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-12-05

    As pointed out in the manual

    All commands [...] are executed directly. There is no shell involved. So most shell functionality does not work.

    This is also true for ~. Try --config /home/username/.languagetool.cfg instead.

    Depending on your distribution --config $HOME/.languagetool.cfg may work as well.

     

    Last edit: Tim Hoffmann 2016-12-05
  • Tim Hoffmann

    Tim Hoffmann - 2016-12-28
    • status: open --> works-for-me
     

Log in to post a comment.