From 7bfbc775044abab1212837c124170a84ae2236ee Mon Sep 17 00:00:00 2001 From: jaumeortola Date: Mon, 4 Nov 2024 12:54:22 +0100 Subject: [PATCH] [ca] enable rules --- .../org/languagetool/resource/ca/added.txt | 1 + .../org/languagetool/resource/ca/spelling.txt | 1 + .../org/languagetool/rules/ca/grammar.xml | 78 +++++++++++++------ .../org/languagetool/rules/ca/replace.txt | 2 +- .../languagetool/rules/ca/replace_verbs.txt | 2 +- 5 files changed, 59 insertions(+), 25 deletions(-) diff --git a/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/added.txt b/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/added.txt index 4a7ede08097c..394d25b3253e 100644 --- a/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/added.txt +++ b/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/added.txt @@ -43,6 +43,7 @@ Koplowitz Koplowitz NPCNSP0 Luger Luger NPCNO00 Mauser Mauser NPCNO00 McCloskey McCloskey NPCNSP0 +Meteocat Meteocat NPMSO00 Middlesex Middlesex NPCSG00 NESE NESE NCFP000 Nel·lo Nel·lo NPCNSP0 diff --git a/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/spelling.txt b/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/spelling.txt index 81befb957750..8d9dea911861 100644 --- a/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/spelling.txt +++ b/languagetool-language-modules/ca/src/main/resources/org/languagetool/resource/ca/spelling.txt @@ -37,6 +37,7 @@ Koplowitz Luger Mauser McCloskey +Meteocat Middlesex NESE Nel·lo diff --git a/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml b/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml index d67492c2038e..9b87eb870f93 100644 --- a/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml +++ b/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/grammar.xml @@ -17453,7 +17453,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - estar + estar|eixir|sortir|resultar molt|gens|gaire mal @@ -17479,7 +17479,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA mal - Val dir malament. + Cal dir malament. Arriba tard i mal. Arriben tard i mal fetes. @@ -27893,7 +27893,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA - + sens llars?|sostres? @@ -27920,17 +27920,17 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA ¿Volíeu dir seus? Els sens companys el van avisar. + + + em|et|el|la|li|ens|us|vos|els|les + + sens + + + ¿Volíeu dir sents (del verb 'sentir')? + Com et sens ara? + - - - em|et|el|la|li|ens|us|vos|els|les - - sens - - - ¿Volíeu dir sents (del verb 'sentir')? - Com et sens ara? - @@ -29559,6 +29559,17 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + + + fer + + + callat + + + ¿Volíeu dir callar? + Aquell no em farà callat a mi. + @@ -36704,6 +36715,17 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA ¿Volíeu dir tot i? M'estranya, tot-hi ser habitual. + + + + tot + hi + + + + ¿Volíeu dir tot i? + M'estranya, tot hi havent l'avís. + @@ -58732,6 +58754,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA &verbs_dicendi; &verbs_dicendi; + + fet|cosa + que + que tal @@ -86542,27 +86568,27 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA tot - i - + i|hi + havent Construcció incorrecta. + tot i haver tot \3 \3 - tot i - Tot i estant així. - Primer de tot i parlant clarament, vull dir que... + Tot i havent aparcant bé. tot - i - havent + i|hi + Construcció incorrecta. - tot i haver tot \3 \3 - Tot i havent aparcant bé. + tot i + Tot i estant així. + Primer de tot i parlant clarament, vull dir que... @@ -100276,7 +100302,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA escoltar - atentament|atenció + atentament|atenció anar|sense|per|a|en|el|no|com @@ -120046,6 +120072,12 @@ No t'ho explicaré, no cal que em burxis més--> + + i + és + que + ? + diff --git a/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace.txt b/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace.txt index 862cbc013bd4..05ba5a8a2209 100644 --- a/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace.txt +++ b/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace.txt @@ -531,7 +531,7 @@ solventable=resoluble|solucionable solventables=resolubles|solucionables reguetón|regueton=reggaeton desagrat=desgrat|disgust -bulo=bola|rumor fals|notícia falsa|engany|faula +bulo=rumor fals|notícia falsa|bola|engany|farsa|mentida bulos=badomeries|boles|rumors falsos|notícies falses|notícies enganyoses escandalera=escàndol|rebombori|xivarri|gresca|xafarranxo|xafarnat encarano=encara no diff --git a/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace_verbs.txt b/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace_verbs.txt index 373ee0e8e796..2b9be2cefd55 100644 --- a/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace_verbs.txt +++ b/languagetool-language-modules/ca/src/main/resources/org/languagetool/rules/ca/replace_verbs.txt @@ -271,7 +271,7 @@ deslindar=delimitar deslumbrar=enlluernar desparramar=escampar despegar=desenganxar|descosir|envolar|prendre el vol|enlairar|distanciar|allunyar -despejar=desembarassar|desallotjar|buidar|aclarir|treure|foragitar|rebutjar|aïllar|deixondir|espavilar +despejar=aclarir|buidar|asserenar|rebutjar|aïllar|deixondir|espavilar desperdiciar=malgastar|malbaratar|balafiar|dilapidar|desaprofitar|perdre desperdigar=escampar|disseminar despilfarrar=malgastar|malbaratar|balafiar|dilapidar