Skip to content

Commit

Permalink
[ca] improve SEMBLA_SER
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Oct 24, 2024
1 parent 447418c commit 762ffb3
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ Iona Iona NPFSG00
Iona Iona NPFSSP0
Joker Joker NPMSSP0
Kinder Kinder NPCNSP0
Luger Luger NPCNO00
Mauser Mauser NPCNO00
McCloskey McCloskey NPCNSP0
Middlesex Middlesex NPCSG00
NESE NESE NCFP000
Nel·lo Nel·lo NPCNSP0
OIEC OIEC NPFSO00
PKK PKK NPMSO00
Parabellum Parabellum NPCNO00
Perejaume Perejaume NPMSSP0
Pisídia Pisídia NPFSG00
Robin Robin NPMSSP0
Expand All @@ -57,6 +62,8 @@ austroprussians austroprussià AQ0MP0
austroprussià austroprussià AQ0MS0
autocompostatge autocompostatge NCMS000
autocompostatges autocompostatge NCMP000
caiuc caiuc NCMS000
caiucs caiuc NCMP000
clivellament clivellament NCMS000
clivellaments clivellament NCMP000
coordinabilitat coordinabilitat NCFS000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Catalan multiwords file used for chunking
#separatorRegExp=[\t;]
Universitat Brandeis;NPFSO00
Eveli Torent;NPMSSP0
Mrs. Dalloway;NPFSSP0
Hazte Oír;NPCNO00
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ Igualada
Iona
Joker
Kinder
Luger
Mauser
McCloskey
Middlesex
NESE
Nel·lo
OIEC
PKK
Parabellum
Perejaume
Pisídia
Robin
Expand All @@ -51,6 +56,8 @@ austroprussians
austroprussià
autocompostatge
autocompostatges
caiuc
caiucs
clivellament
clivellaments
coordinabilitat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93514,20 +93514,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
<example correction="per quins set sous|per quins cinc sous|a quin sant"><marker>a sant de què</marker>?</example>
<example>per quins set sous?</example>
</rule>
<rule id="SEMBLA_SER" name="*sembla/pareix ser">
<pattern>
<token regexp="yes">sembla|semblava|pareix|pareixia</token>
<token regexp="yes">ser|esser|ésser</token>
<token>que</token>
</pattern>
<message>Expressió redundant.</message>
<suggestion><match no="1"/> que</suggestion>
<suggestion>Segons <match no="1" case_conversion="alllower"/>,</suggestion>
<short>Expressió redundant</short>
<example correction="Sembla que|Segons sembla,"><marker>Sembla ser que</marker> no arribarem a temps</example>
<example correction="Pareixia que|Segons pareixia,"><marker>Pareixia ser que</marker> ho era.</example>
<example>Sembla ser, certament, l'adequat.</example>
</rule>
<rule id="DE_SOCAREL" name="de soca-rel">
<pattern>
<token>de</token>
Expand Down Expand Up @@ -99257,7 +99243,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
</rule>
<rule>
<pattern>
<token regexp="yes" skip="3" inflected="yes">decidir|sol·licitar|demanar|revocar|auto</token>
<token regexp="yes" skip="3" inflected="yes">decidir|sol·licitar|demanar|revocar|auto|declarar|aconseguir</token>
<marker>
<token inflected="yes">arxiu</token>
</marker>
Expand Down Expand Up @@ -106634,6 +106620,23 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
</rule>
</category>
<category id="PREFERABLE_EXPRESSIONS" name="Expressions preferibles" default="on" type="style">
<rule id="SEMBLA_SER" name="sembla/pareix ser que -> es veu que">
<pattern>
<token postag="VM..3S.." postag_regexp="yes" regexp="yes">sembla|semblava|pareix|pareixia</token>
<token regexp="yes">ser|esser|ésser</token>
<token>que</token>
</pattern>
<message>Expressió redundant. Val més fer servir una altra expressió.</message>
<suggestion>es <match no="1" postag_regexp="yes" postag="(VM..3S..)" postag_replace="$1">veure</match> que</suggestion>
<suggestion>es <match no="1" postag_regexp="yes" postag="(VM..3S..)" postag_replace="$1">dir</match> que</suggestion>
<suggestion><match no="1" postag_regexp="yes" postag="(VM..3)S(..)" postag_replace="$1P$2">dir</match> que</suggestion>
<suggestion><match no="1"/> que</suggestion>
<suggestion>Segons <match no="1" case_conversion="alllower"/>,</suggestion>
<short>Expressió redundant</short>
<example correction="Es veu que|Es diu que|Diuen que|Sembla que|Segons sembla,"><marker>Sembla ser que</marker> no arribarem a temps</example>
<example correction="Es veia que|Es deia que|Deien que|Pareixia que|Segons pareixia,"><marker>Pareixia ser que</marker> ho era.</example>
<example>Sembla ser, certament, l'adequat.</example>
</rule>
<rulegroup id="ESTAR_GERUNDI" name="està plovent -> plou" default="on">
<rule>
<pattern>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cayuco|caiuco=caiuc|pastera|barca|embarcació
cayucos|caiucos=caiucs|pasteres|barques|embarcacions
patinetero|patinetera=patinetista|patinetaire
cupo=quota|cupó
currante=pencaire|treballador
Expand Down

0 comments on commit 762ffb3

Please sign in to comment.