From 301bb657f12af2ad4f1faddbee8b2277be5c0159 Mon Sep 17 00:00:00 2001 From: p-goulart Date: Mon, 27 May 2024 14:15:56 +0200 Subject: [PATCH] [pt] Lower priority of AI_PT_GGEC_REPLACEMENT_OTHER --- .../pt/src/main/java/org/languagetool/language/Portuguese.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/languagetool-language-modules/pt/src/main/java/org/languagetool/language/Portuguese.java b/languagetool-language-modules/pt/src/main/java/org/languagetool/language/Portuguese.java index c3811df0f723..b0106fefaf05 100644 --- a/languagetool-language-modules/pt/src/main/java/org/languagetool/language/Portuguese.java +++ b/languagetool-language-modules/pt/src/main/java/org/languagetool/language/Portuguese.java @@ -294,6 +294,9 @@ protected int getPriorityForId(String id) { if (id.startsWith("AI_PT_GGEC_REPLACEMENT_ORTHOGRAPHY_SPELL")) { return -49; } + if (id.startsWith("AI_PT_GGEC_REPLACEMENT_OTHER")) { + return -4; + } if (id.startsWith("PT_MULTITOKEN_SPELLING")) { return -49; }