Back to LanguageTool Homepage - Privacy - Imprint

[en] Different results in the GUI and JSON file

This question is posted for one of my STE checker customers.

The GUI shows 3 warnings. The last warning is caused by MORFOLOGIK_RULE_EN_US and does not appear in the JSON results.

The customer has seen the comment on https://dev.languagetool.org/http-server:
“Note that for a server started from a GUI, a user may configure it in the configuration dialog box to disable some unwanted rules. This may be beneficial if the calling program does not allow configuration of the call to the LanguageTool server, and the user wants to enable or disable some checks. However, if the program does disable or enable any rules, then the configuration set by the user will be silently ignored.”

The customer wrote, “We double checked the system and everything seems to be set up properly.”

What are the possible causes of the different results? Do you have any ideas about how the customer can get the same results in the JSON file as in the GUI?

Not sure if important: the STE rules are in a password-protected external file (https://dev.languagetool.org/tips-and-tricks#adding-rules-to-an-external-file).

The JSON response is assumed to be used by a client that underlines errors in the text, thus it filters matches that appear at the same position. There’s currently no parameter to change that behavior.

@dnaber, thank you.

Suggestion: document the information that it filters matches that appear at the same position.