Skip to content

Commit

Permalink
[ca] New rule: PUNT_I_FINAL. Improved rule JA_QUE
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Dec 24, 2013
1 parent 42c34a9 commit fac7fca
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5555,14 +5555,14 @@ $Id$
<rulegroup id="DEGUT_A" name="*degut a" type="style">
<rule>
<pattern>
<token><exception inflected="yes" regexp="yes">ser|semblar|parèixer|haver</exception><exception postag="RG_anteposat|.*LOC_ADV.*" postag_regexp="yes"/><exception>respecte</exception></token>
<token><exception inflected="yes" regexp="yes">ser|semblar|parèixer|haver</exception><exception postag="RG_anteposat|.*LOC_ADV.*" postag_regexp="yes"/><exception regexp="yes">respecte|honor</exception></token>
<marker>
<token>degut<exception postag="_GV_"/></token>
<token>a</token>
</marker>
<token><exception regexp="yes">que|què|l|ls</exception></token>
</pattern>
<message>Probablement val més fer sevir una altra expressió. Correcte si 'degut' concorda amb un nom o és participi ('és degut a').</message>
<message>Probablement val més fer sevir una altra expressió. Correcte si 'degut' concorda amb un nom ('el respecte degut') o és participi ('és degut a').</message>
<suggestion>a causa de</suggestion>
<suggestion>per</suggestion>
<suggestion>per culpa de</suggestion>
Expand All @@ -5586,14 +5586,14 @@ $Id$
</rule>
<rule>
<pattern>
<token><exception inflected="yes" regexp="yes">ser|semblar|parèixer|haver</exception><exception postag="RG_anteposat|.*LOC_ADV.*" postag_regexp="yes"/><exception>respecte</exception></token>
<token><exception inflected="yes" regexp="yes">ser|semblar|parèixer|haver</exception><exception postag="RG_anteposat|.*LOC_ADV.*" postag_regexp="yes"/><exception regexp="yes">respecte|honor</exception></token>
<marker>
<token>degut<exception postag="_GV_"/></token>
<token>a</token>
<token regexp="yes">ls?</token>
</marker>
</pattern>
<message>Probablement val més fer sevir una altra expressió. Correcte si 'degut' concorda amb un nom o és participi ('és degut a').</message>
<message>Probablement val més fer sevir una altra expressió. Correcte si 'degut' concorda amb un nom ('el respecte degut') o és participi ('és degut a').</message>
<suggestion>a causa de<match no="4"/></suggestion>
<suggestion>pe<match no="4"/></suggestion>
<suggestion>per culpa de<match no="4"/></suggestion>
Expand Down Expand Up @@ -21331,7 +21331,18 @@ $Id$
</rule>
</category>
<category name="C7) Expressions preferibles" default="on" type="style">
<rule id="DE_LA_NIT_AL_MAT" name="de la nit al matí">
<rule id="PUNT_I_FINAL" name="punt i final">
<pattern>
<token>punt</token>
<token>i</token>
<token>final</token>
</pattern>
<message>Expressió preferible.</message>
<suggestion>punt final</suggestion>
<example type="incorrect">Hi van posar <marker>punt i final</marker>.</example>
<example type="correct">Hi van posar punt final.</example>
</rule>
<rule id="DE_LA_NIT_AL_MATI" name="de la nit al matí">
<pattern>
<token>de</token>
<token>la</token>
Expand All @@ -21340,7 +21351,7 @@ $Id$
<token>l</token>
<token>matí</token>
</pattern>
<message>Expressió preferible</message>
<message>Expressió preferible.</message>
<example type="incorrect"><marker>de la nit al matí</marker></example>
<example type="correct">de la nit al dia</example>
</rule>
Expand Down Expand Up @@ -23732,9 +23743,9 @@ $Id$
</rulegroup>
<rule id="JA_QUE" name="'ja que' va precedit de coma">
<pattern>
<token><exception postag="SENT_START|_PUNCT.*" postag_regexp="yes"/></token>
<token><exception postag="SENT_START"/><exception regexp="yes">[,;:]</exception></token>
<marker>
<token><exception postag="SENT_START|_PUNCT.*" postag_regexp="yes"/></token>
<token><exception postag="SENT_START"/><exception regexp="yes">[,;:]</exception></token>
<token>ja</token>
<token>que</token>
</marker>
Expand All @@ -23745,7 +23756,8 @@ $Id$
<url>http://www.ara.cat/premium/opinio/Ja-que-vol-dir-perque_0_675532448.html</url>
<short>Falta una coma</short>
<example type="incorrect" correction="ell, ja que|ell perquè">No és <marker>ell ja que</marker> no vol.</example>
<example type="correct">Però ja que </example>
<example type="incorrect" correction="», ja que|» perquè">Era un ocell «rar<marker>» ja que</marker> feia dies que no sortia.</example>
<example type="correct">Però ja que venia ho aprofitava.</example>
</rule>
<rule id="MI" name="mi/m'hi">
<pattern case_sensitive="yes">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ recader=ordinari|transportista
recaders=ordinaris|transportistes
recado=encàrrec|comanda|avís
recados=encàrrecs|comandes|avisos
recint=recinte
red=xarxa
redada=batuda|pentinada
redades=batudes|pentinades
Expand Down

0 comments on commit fac7fca

Please sign in to comment.