sentenceRanges not returned from commandline

Hi all. I wonder if there is a way to get languagetool to report sentenceRanges when using commandline? I do see sentenceRanges when running in server mode. But the sentenceRanges field in the json response is always empty when running the CLI. Perhaps I have missed a flag specific to commandline?

I’m running languagetool v5.8.

I don’t think so. This might be a bug, but we generally recommend using the server mode, as it’s faster (except for one-time use) and more robust.

1 Like