Back to LanguageTool Homepage - Privacy - Imprint

Server Limit text length: 2147483647

An observation I thought I’d better drop here, because it might or might no be related to the error messages emitted by the LibO extension discussed in other threads.

File

$HOME/.config/LanguageTool/LibreOffice/LanguageTool.log

contains

LT office integration log from Thu Mar 12 18:24:10 CET 2020
Server Limit text length: 2147483647
Server Limit text length: 2147483647

even after opening a one sentence document. (I couldn’t attache one here.)

System:

  • Ubuntu 19.10
  • LibreOffice 6.3.5
  • LT extension v4.9 snapshot 2020-03-11
  • LT server v4.9 snapshot 2020-03-09
  • OpenJDK 11.0.6

Hmm, now I wonder if that’s not an error, but the effective server text length limit?

But then, text length limit is a property of the server, not the extension. I didn’t see a way to query the limit in the HTTP API documentation at https://languagetool.org/http-api/swagger-ui/#!/default/post_check . And I did see other chunks of error messages in the log file. I wonder what said line actually refer to?

2147483647 is just the default limit, it basically means “no limit” (assuming you don’t send > 1 GB of text).

But who’s default limit is it? That of the extension or that of the server, which the extension retrieved somehow? Do any of the LT clients adapt to a given server limit, trying to send text chunks smaller than the limit?