Hi ya,
I am trying to use n-gram on the server. The n-gram is located in “D:\LanguageTool\en”.
I have input
“java -Xmx500m -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --languageModel 'D:\LanguageTool'”
in cmd and when I input
'http://localhost:8081/v2/check?language=en-Us&text=“Let us go their.” in Chrome, it does not work, and the chrome just returns
{“software”:{“name”:“LanguageTool”,“version”:“4.9”,“buildDate”:“2020-03-24 14:19”,“apiVersion”:1,“premium”:false,“premiumHint”:“You might be missing errors only the Premium version can find. Contact us at supportlanguagetoolplus.com.”,“status”:“”},“warnings”:{“incompleteResults”:false},“language”:{“name”:“English (US)”,“code”:“en-US”,“detectedLanguage”:{“name”:“English (US)”,“code”:“en-US”,“confidence”:0.70801944}},“matches”:}
So, what could I do and how to solve this problem? Thank you.
However, when I am useing LT UI verision. it works well the UI told me “their” is correct.