Skip to content

Commit

Permalink
use compact mode
Browse files Browse the repository at this point in the history
  • Loading branch information
SteVio89 committed Jul 24, 2024
1 parent 12046b6 commit 8fd2a98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public RuleMatch[] match(AnalyzedSentence sentence) throws IOException {
}, null,0,1,""));
}
DetectedLanguage detectedLanguage = new DetectedLanguage(premiumStatusCheckLang, premiumStatusCheckLang, 0.99999076F, "ngram");
String response = getResponse(aText, premiumStatusCheckLang, detectedLanguage, premiumStatusCheckLang, Collections.singletonList(new CheckResults(matches, Collections.emptyList())), Collections.emptyList(), null, 0,
String response = getResponse(aText, premiumStatusCheckLang, detectedLanguage, premiumStatusCheckLang, Collections.singletonList(new CheckResults(matches, Collections.emptyList())), Collections.emptyList(), null, 1,
!limits.hasPremium(), JLanguageTool.Mode.ALL);
setHeaders(httpExchange);
httpExchange.sendResponseHeaders(HttpURLConnection.HTTP_OK, response.getBytes(ENCODING).length);
Expand Down

0 comments on commit 8fd2a98

Please sign in to comment.