Skip to content

Commit

Permalink
[ca] Improved rule TOT_I_QUE_SUBJUNTIU
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumeortola committed Dec 21, 2013
1 parent 344617c commit 23bd3b7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4813,7 +4813,7 @@ Copyright (C) 2012 Jaume Ortolà i Font
<marker>
<token postag="RG">força</token>
</marker>
<token postag="AQ.*|V.P.*|RG" postag_regexp="yes"/>
<token postag="AQ.*|V.P.*|RG" postag_regexp="yes"><exception>que</exception></token>
</pattern>
<disambig action="filter" postag="R.*"/>
</rule>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21227,7 +21227,8 @@ $Id$
<token>quasi</token>
<token>bé</token>
</pattern>
<message>¿Volíeu dir <suggestion>quasi</suggestion>, <suggestion>gairebé</suggestion>?</message>
<message>¿Volíeu dir <suggestion>quasi</suggestion>?</message>
<suggestion>gairebé</suggestion>
<example type="incorrect"><marker>quasi bé</marker></example>
<example type="correct">gairebé</example>
</rule>
Expand All @@ -21237,7 +21238,8 @@ $Id$
<token>-</token>
<token>bé</token>
</pattern>
<message>¿Volíeu dir <suggestion>quasi</suggestion>, <suggestion>gairebé</suggestion>?</message>
<message>¿Volíeu dir <suggestion>quasi</suggestion>?</message>
<suggestion>gairebé</suggestion>
<example type="incorrect"><marker>quasi-bé</marker></example>
<example type="correct">gairebé</example>
</rule>
Expand Down Expand Up @@ -23189,19 +23191,23 @@ $Id$
<category name="Sintaxi" type="grammar">
<rule id="TOT_I_QUE_SUBJUNTIU" name="tot i que + *subjuntiu/indicatiu">
<pattern>
<token>tot</token>
<token>i</token>
<token skip="8">que<exception scope="next" postag="V.I.*|PR.*|CS|.*LOC_CONJ.*" postag_regexp="yes"/></token>
<token postag="V.S.*" postag_regexp="yes"><exception postag="V.I.*|_GN_.*" postag_regexp="yes"/></token>
<token><exception postag="SPS00|.*LOC_PREP.*" postag_regexp="yes"/></token>
<marker>
<token>tot</token>
<token>i</token>
<token skip="8">que<exception scope="next" postag="V.I.*|PR.*|CS|.*LOC_CONJ.*" postag_regexp="yes"/></token>
<token postag="V.S.*" postag_regexp="yes"><exception postag="V.I.*|_GN_.*" postag_regexp="yes"/></token>
</marker>
</pattern>
<message>La locució "tot i que" s'usa amb verbs en mode indicatiu.</message>
<suggestion>encara <match no="3" include_skipped="all"/> <match no="4"/></suggestion>
<suggestion>tot i <match no="3" include_skipped="all"/> <match no="4" postag="(V.)S(.*)." postag_regexp="yes" postag_replace="$1I$2."/></suggestion>
<suggestion>encara <match no="4" include_skipped="all"/> <match no="5"/></suggestion>
<suggestion>tot i <match no="4" include_skipped="all"/> <match no="5" postag="(V.)S(.*)." postag_regexp="yes" postag_replace="$1I$2."/></suggestion>
<short>Error de sintaxi</short>
<example type="incorrect" correction="Encara que algunes siguin|Tot i que algunes són"><marker>Tot i que algunes siguin</marker> diferents.</example>
<example type="incorrect" correction="Encara que se'l consideri|Tot i que se'l considera"><marker>Tot i que se'l consideri</marker> així.</example>
<example type="correct">Tot i que són diferents</example>
<example type="correct">Era possible, tot i que poc probable, que Joan fos un d'ells.</example>
<example type="correct">Algú que el governi en tot i que sigui prudent.</example>
</rule>
<rule id="PER_BE_QUE_SUBJUNTIU" name="per bé que + *subjuntiu/indicatiu">
<pattern>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ párrocos|pàrrocos=rectors
párroco|pàrroco=rector
pèsams|pésams=condols|condolences
pèsam|pésam=condol|condolença
quasibé=quasi|gairebé
radera|radere|raere=darrere
reaci=refractari|reticent|renitent
reacis=refractaris|reticents|renitents
Expand Down

0 comments on commit 23bd3b7

Please sign in to comment.