Revision: 9028
http://languagetool.svn.sourceforge.net/languagetool/?rev=9028&view=rev
Author: jaumeortola
Date: 2013-01-15 13:23:02 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
[ca] Fixed some false alarms.
Modified Paths:
--------------
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/multiwords.txt
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
2013-01-15 00:37:20 UTC (rev 9027)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/disambiguation.xml
2013-01-15 13:23:02 UTC (rev 9028)
@@ -551,7 +551,7 @@
<rulegroup id="Nom_propi" name="noms propis">
<rule>
<pattern>
- <token><exception postag="SENT_START"/><exception
regexp="yes">[¿¡"«»—–:\-]</exception></token>
+ <token><exception postag="SENT_START"/><exception
regexp="yes">[¿?¡!"«»—–:\-]</exception></token>
<marker>
<token postag="NP.*" postag_regexp="yes"/>
</marker>
@@ -570,7 +570,7 @@
</rule>
<rule> <!-- Lluís Nadal exigeix -->
<pattern>
- <token regexp="yes">[¿¡"«»—–:\-]</token>
+ <token regexp="yes">[¿?¡!"«»—–:\-]</token>
<marker>
<token postag="NP.*" postag_regexp="yes"
skip="3"><exception postag="A.*" postag_regexp="yes"/><exception scope="next"
postag="V.P.*" postag_regexp="yes"/><exception scope="next" postag="P.*"
postag_regexp="yes" regexp="yes">['-].+</exception></token>
</marker>
@@ -788,6 +788,21 @@
<disambig action="replace"><wd lemma="tant_de_bo" pos="I"/><wd
lemma="tant_de_bo" pos="I"/><wd lemma="tant_de_bo" pos="I"/></disambig>
</rule>
</rulegroup>
+ <rule id="no_se_quin" name="no sé quin">
+ <pattern>
+ <token>no</token>
+ <marker><token skip="1">sé</token></marker>
+ <token regexp="yes">qui(n|ns|na|nes)?</token>
+ </pattern>
+ <disambig action="add"><wd pos="_loc_nosequi"/></disambig>
+ </rule>
+ <rule id="diguem_ne" name="diguem-ne">
+ <pattern>
+ <marker><token>diguem</token></marker>
+ <token>-ne</token>
+ </pattern>
+ <disambig action="add"><wd pos="_loc_nosequi"/></disambig>
+ </rule>
<rulegroup id="nDet" name="no Determinant">
<!-- paraules comunes que no solen ser determinants gairebé mai -->
<rule>
@@ -1542,7 +1557,7 @@
<marker>
<and>
<token postag="NC.*" postag_regexp="yes"/>
- <token postag="AQ.*" postag_regexp="yes"><exception
postag="_GN_.*" postag_regexp="yes"/></token>
+ <token postag="AQ.*" postag_regexp="yes"><exception
postag="_GN_.*|V.G.*" postag_regexp="yes"/></token>
</and>
</marker>
<token><exception postag="NC.*" postag_regexp="yes"/></token>
@@ -3225,7 +3240,7 @@
<rulegroup id="qui_les_porta" name="qui pronom verb 3a persona sing">
<rule>
<pattern>
- <token><exception
regexp="yes">allò|després|abans|malgrat</exception><exception postag="V.*"
postag_regexp="yes" inflected="yes">fer</exception></token>
+ <token><exception
regexp="yes">allò|després|abans|malgrat</exception><exception postag="V.*"
postag_regexp="yes" inflected="yes"
regexp="yes">fer|aconseguir</exception></token>
<token regexp="yes">qui|que|què<exception
postag=".*LOC_CONJ.*" postag_regexp="yes"/></token>
<token
postag="P0.{6}|PP3CN000|PP3NN000|PP3..A00|PP3CP000|PP3CSD00"
postag_regexp="yes"/>
<marker>
@@ -3312,7 +3327,7 @@
<marker>
<and>
<token postag="V.[IS].*"
postag_regexp="yes"><exception postag="DI.*" postag_regexp="yes"/></token> <!--
no té cap quantitat -->
- <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception>era</exception></token>
+ <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception regexp="yes">era|va</exception></token>
</and>
</marker>
</pattern>
@@ -3326,7 +3341,7 @@
<marker>
<and>
<token postag="V.[IS].*"
postag_regexp="yes"><exception postag="DI.*" postag_regexp="yes"/></token> <!--
no té cap quantitat -->
- <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception>era</exception></token>
+ <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception regexp="yes">era|va</exception></token>
</and>
</marker>
</pattern>
@@ -3339,7 +3354,7 @@
<marker>
<and>
<token postag="V.[IS].*"
postag_regexp="yes"><exception postag="DI.*" postag_regexp="yes"/></token> <!--
no té cap quantitat -->
- <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception>era</exception></token>
+ <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception regexp="yes">era|va</exception></token>
</and>
</marker>
</pattern>
@@ -3353,7 +3368,7 @@
<marker>
<and>
<token postag="V.[IS].*"
postag_regexp="yes"><exception postag="DI.*" postag_regexp="yes"/></token> <!--
no té cap quantitat -->
- <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception>era</exception></token>
+ <token postag="NC.*|A.*|V.P.*|DN.*"
postag_regexp="yes"><exception regexp="yes">era|va</exception></token>
</and>
</marker>
</pattern>
@@ -3370,7 +3385,7 @@
<token postag="NC.*|A.*|V.P.*" postag_regexp="yes"></token>
</and>
</marker>
- <token postag="V.[IS].*" postag_regexp="yes"><exception
postag="V.[IS].*" postag_regexp="yes" negate_pos="yes"/></token>
+ <token postag="V.[IS].*|RN" postag_regexp="yes"><exception
postag="V.[IS].*|RN" postag_regexp="yes" negate_pos="yes"/></token>
</pattern>
<disambig action="filter" postag="[^V].*"></disambig>
</rule>
@@ -3706,13 +3721,27 @@
<feature id="genere"/>
<marker>
<token postag="D[^R].*" postag_regexp="yes"></token>
- <token postag="N.*" postag_regexp="yes"><exception
postag="DN.*" postag_regexp="yes" /><exception
inflected="yes">meu</exception></token>
+ <token postag="N.*" postag_regexp="yes"><exception
inflected="yes">meu</exception></token><!-- <exception postag="DN.*"
postag_regexp="yes" /> -->
<token postag="A.*|V.P.*|PX.*"
postag_regexp="yes"><exception>tens</exception></token> <!-- <exception
postag="V[MA]IP3S0" postag_regexp="yes"/>-->
</marker>
</unify>
</pattern>
<disambig action="unify"/>
</rule>
+<!-- <rule>
+ <pattern>
+ <unify>
+ <feature id="nombre"/>
+ <feature id="genere"/>
+ <marker>
+ <token postag="D[^R].*" postag_regexp="yes"></token>
+ <token postag="N.*" postag_regexp="yes">deu</token>
+ <token postag="A.*|V.P.*|PX.*" postag_regexp="yes"/>
+ </marker>
+ </unify>
+ </pattern>
+ <disambig action="unify"/>
+ </rule> -->
<rule>
<pattern>
<marker>
@@ -4700,7 +4729,7 @@
</and>
</marker>
<!-- No està ben resolt?? -->
- <token postag="V.[MSI].*|PP.*|P0.*" postag_regexp="yes"><exception
postag="V.[MSI].*|PP.*|P0.*|_GV_" postag_regexp="yes" negate_pos="yes"
/><exception regexp="yes">['-].+</exception><exception
regexp="yes">jo|mi|tu|ella?|nosaltres|vosaltres|elle?s|vost[èé]s?|vós</exception></token>
+ <token postag="V.[MSI].*|PP.*|P0.*|RN"
postag_regexp="yes"><exception postag="V.[MSI].*|PP.*|P0.*|RN|_GV_"
postag_regexp="yes" negate_pos="yes" /><exception
regexp="yes">['-].+</exception><exception
regexp="yes">jo|mi|tu|ella?|nosaltres|vosaltres|elle?s|vost[èé]s?|vós</exception></token>
</pattern>
<disambig action="filter" postag="[^V].*"></disambig>
</rule>
@@ -4743,27 +4772,18 @@
</pattern>
<disambig action="filter" postag="CS"></disambig>
</rule>
- <rulegroup id="determinants_numerals" name="deternimants numerals">
- <rule>
- <pattern>
- <marker>
- <token postag="DN.*" postag_regexp="yes"/>
- <token postag="DN.*" postag_regexp="yes"/>
- </marker>
- <token postag="DN.*" postag_regexp="yes"/>
- </pattern>
- <disambig action="filterall"/>
- </rule>
- <rule>
- <pattern>
- <marker>
- <token postag="DN.*" postag_regexp="yes"/>
- </marker>
- <token postag="N..P.*" postag_regexp="yes"/>
- </pattern>
- <disambig action="filter" postag="DN.*|_GN.*"/>
- </rule>
- </rulegroup>
+ <rule id="EM_DEU" name="em deu: excepció a les regles següents">
+ <pattern>
+ <token
postag="P0.{6}|PP3CN000|PP3NN000|PP3..A00|PP3CP000|PP3CSD00"
postag_regexp="yes"/>
+ <marker>
+ <and>
+ <token postag="DN0CP0">deu</token>
+ <token postag="V.*" postag_regexp="yes"><exception
postag="_GN_.*" postag_regexp="yes"/></token>
+ </and>
+ </marker>
+ </pattern>
+ <disambig action="filter" postag="[^D].*"/>
+ </rule>
<rule id="nN3" name="no Nom">
<!-- no són noms si no han concordat amb determinants. Mogut per "ens
ensenya"-->
<pattern>
@@ -4789,13 +4809,34 @@
<pattern>
<marker>
<and>
- <token postag="A.*" postag_regexp="yes"
regexp="yes">envolta|tornés|seré|som|escolta|tens<exception postag="_GN.*"
postag_regexp="yes" /></token>
+ <token postag="A.*" postag_regexp="yes"
regexp="yes">envolta|tornés|seré|escolta|tens<exception postag="_GN.*"
postag_regexp="yes" /></token>
<token postag="A.*" postag_regexp="yes"
negate_pos="yes"></token>
</and>
</marker>
</pattern>
<disambig action="filter" postag="[^A].*"></disambig>
</rule>
+ <rulegroup id="determinants_numerals" name="deternimants numerals">
+ <rule>
+ <pattern>
+ <marker>
+ <token postag="DN.*" postag_regexp="yes"/>
+ <token postag="DN.*" postag_regexp="yes"/>
+ </marker>
+ <token postag="DN.*" postag_regexp="yes"/>
+ </pattern>
+ <disambig action="filterall"/>
+ </rule>
+ <rule>
+ <pattern>
+ <marker>
+ <token postag="DN.*" postag_regexp="yes"/>
+ </marker>
+ <token postag="N..P.*" postag_regexp="yes"/>
+ </pattern>
+ <disambig action="filter" postag="DN.*|_GN.*"/>
+ </rule>
+ </rulegroup>
<rulegroup id="nou" name="nou (adj/nom/numeral)">
<rule>
<pattern>
@@ -5044,18 +5085,6 @@
</pattern>
<disambig action="filter" postag="NC.*|_GN_.*"></disambig>
</rule>
- <rule id="EM_DEU" name="em deu: excepció a les regles següents">
- <pattern>
- <token
postag="P0.{6}|PP3CN000|PP3NN000|PP3..A00|PP3CP000|PP3CSD00"
postag_regexp="yes"/>
- <marker>
- <and>
- <token postag="DN0CP0">deu</token>
- <token postag="V.*" postag_regexp="yes"><exception
postag="_GN_.*" postag_regexp="yes"/></token>
- </and>
- </marker>
- </pattern>
- <disambig action="filter" postag="[^D].*"/>
- </rule>
<!-- numeral seguit de nom o adjectiu-->
<rulegroup id="DetNum" name="determinants numerals">
<rule>
@@ -5669,11 +5698,11 @@
<rule id="VERB_PP" name="verb seguit de pronom">
<pattern>
<marker>
- <token postag="V.[MNG].*|_GV_" postag_regexp="yes"></token>
- <token
postag="P0.{6}|PP3CN000|PP3NN000|PP3..A00|PP3CP000|PP3CSD00"
postag_regexp="yes"><exception regexp="yes">[^'-].+</exception></token>
+ <token postag="V.[MNG].*" postag_regexp="yes"></token>
</marker>
+ <token
postag="P0.{6}|PP3CN000|PP3NN000|PP3..A00|PP3CP000|PP3CSD00"
postag_regexp="yes"><exception regexp="yes">[^'-].+</exception></token>
</pattern>
- <disambig action="filterall"/>
+ <disambig action="filter" postag="V.[MNG].*|_GV_|_loc_nosequi"/>
</rule>
</rulegroup>
<rulegroup id="verbs_darrere_sino" name="neteja verbs darrere de 'sinó'">
@@ -6112,7 +6141,7 @@
<token postag="V.[MSI].*|_GV_" postag_regexp="yes"
negate_pos="yes"><exception postag="V.[MSI].*|_GV_|R[GN]|.*LOC_ADV.*|C.*"
postag_regexp="yes"/><exception regexp="yes">["“«'‘(]</exception><exception
inflected="yes"
regexp="yes">mot|paraula|terme|expressió|vocable|nom|tipus</exception></token>
<marker>
<and>
- <token postag="NC.*" postag_regexp="yes"><exception
postag="_GN_.*" postag_regexp="yes" /><exception
regexp="yes">força|coma|cap|noms?|nou</exception></token>
+ <token postag="NC.*" postag_regexp="yes"><exception
postag="_GN_.*" postag_regexp="yes" /><exception
regexp="yes">força|coma|cap|noms?|nou|deu</exception></token>
<token postag="V.[MSI].*" postag_regexp="yes"><exception
postag="_GV_" /><exception regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception
regexp="yes">[\p{Ll}·]+(e|[aei]sses|[ae]res|era)</exception></token>
<!-- problema: els noms acabats en -e no tenen comprovació
de concordança!! -->
</and>
@@ -6147,7 +6176,7 @@
</rule>
<rule id="VerbAdjectiu" name="verb i adjectiu que no ha concordat"> <!--
fer exàmens. Excep: tan regular (adj) -->
<pattern>
- <token><exception postag="RG_anteposat|.*LOC_ADV.*|_GV_|SPS00|CC"
postag_regexp="yes" /><exception postag="P.*" postag_regexp="yes"
regexp="yes">['-].+</exception><exception
regexp="yes">["“«'‘(]</exception><exception inflected="yes"
regexp="yes">ser|estar|semblar|parèixer|considerar</exception></token>
+ <token><exception
postag="RG_anteposat|.*LOC_ADV.*|_GV_|SPS00|CC|UNKNOWN" postag_regexp="yes"
/><exception postag="P.*" postag_regexp="yes"
regexp="yes">['-].+</exception><exception
regexp="yes">["“«'‘(]</exception><exception inflected="yes"
regexp="yes">ser|estar|semblar|parèixer|considerar</exception></token>
<marker>
<and>
<token postag="A.*" postag_regexp="yes"><exception
postag="_GN_.*" postag_regexp="yes" /><exception
regexp="yes">\p{Lu}+[\p{Ll}·]*</exception><exception
regexp="yes">[\p{Ll}·]+(e|[aei]sses|[ae]res|era)</exception></token>
@@ -6213,7 +6242,7 @@
<marker>
<and>
<token postag="A.*" postag_regexp="yes"><exception
postag="_GN_.*" postag_regexp="yes" /></token>
- <token postag="V.IP.*" postag_regexp="yes"><exception
regexp="yes">complexes|dures</exception></token>
+ <token postag="V.IP2S." postag_regexp="yes"><exception
regexp="yes">complexes|dures</exception></token>
</and>
</marker>
</pattern>
@@ -6515,8 +6544,8 @@
<token postag="SPS.*" postag_regexp="yes"></token>
<marker>
<and>
- <token postag="N.*|A.*|V.P.*" postag_regexp="yes"
negate_pos="yes"><exception postag="_GN.*|_GV_|(DI|DE|DT|PT).*"
postag_regexp="yes" /></token>
- <token postag="N.*|A.*|V.P.*"
postag_regexp="yes"><exception>dos</exception></token>
+ <token postag="N.*|A.*|V.P.*" postag_regexp="yes"
negate_pos="yes"><exception postag="DN.*|_GN.*|_GV_|(DI|DE|DT|PT).*"
postag_regexp="yes" /></token>
+ <token postag="N.*|A.*|V.P.*" postag_regexp="yes"></token>
</and>
</marker>
</pattern>
@@ -6705,7 +6734,8 @@
</pattern>
<disambig action="filter" postag="N.*"/>
</rule>
- <rule id="DEU" name="no és numeral si no ha concordat...">
+ <rulegroup id="DEU" name="no és numeral si no ha concordat...">
+ <rule>
<pattern>
<marker>
<and>
@@ -6715,7 +6745,8 @@
</marker>
</pattern>
<disambig action="filter" postag="[^D].*"/>
- </rule>
+ </rule>
+ </rulegroup>
<rule id="nNom" name="no nom si no ha concordat">
<pattern>
<and>
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/multiwords.txt
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/multiwords.txt
2013-01-15 00:37:20 UTC (rev 9027)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/resource/ca/multiwords.txt
2013-01-15 13:23:02 UTC (rev 9028)
@@ -191,6 +191,8 @@
Com ara LOC_CONJ
Cos a cos LOC_ADV
Cos per cos LOC_ADV
+Costa amunt LOC_ADV
+Costa avall LOC_ADV
D' acord amb LOC_PREP
D' alguna manera LOC_ADV
D' allò més LOC_ADV
@@ -234,6 +236,7 @@
De bell nou LOC_ADV
De bell principi LOC_ADV
De biaix LOC_ADV
+De bo de bo LOC_ADV
De bocaterrosa LOC_ADV
De bona font LOC_ADV
De bona gana LOC_ADV
@@ -494,6 +497,7 @@
Una mica LOC_ADV
Una per una LOC_ADV
Vist i no vist LOC_ADV
+Vox populi NCFS000
a base d' LOC_PREP
a base de LOC_PREP
a bé d' LOC_PREP
@@ -686,6 +690,8 @@
com ara LOC_CONJ
cos a cos LOC_ADV
cos per cos LOC_ADV
+costa amunt LOC_ADV
+costa avall LOC_ADV
d' acord amb LOC_PREP
d' alguna manera LOC_ADV
d' allò més LOC_ADV
@@ -729,6 +735,7 @@
de bell nou LOC_ADV
de bell principi LOC_ADV
de biaix LOC_ADV
+de bo de bo LOC_ADV
de bocaterrosa LOC_ADV
de bona font LOC_ADV
de bona gana LOC_ADV
@@ -992,4 +999,5 @@
una mica LOC_ADV
una per una LOC_ADV
vist i no vist LOC_ADV
+vox populi NCFS000
Modified:
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
===================================================================
---
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-01-15 00:37:20 UTC (rev 9027)
+++
trunk/JLanguageTool/src/main/resources/org/languagetool/rules/ca/grammar.xml
2013-01-15 13:23:02 UTC (rev 9028)
@@ -61,8 +61,10 @@
</pattern>
<message>Error de concordança: <suggestion><match no="2"
postag="N..P.*" /></suggestion>.</message>
<short>Error de concordança</short>
- <example type="incorrect">Trenta-dos
<marker>home</marker>.</example>
+ <example type="incorrect" correction="homes,
hòmens">Trenta-dos <marker>home</marker>.</example>
+ <example type="incorrect" correction="anys">en trenta-un
<marker>any</marker>.</example>
<example type="correct">Trenta-dos homes.</example>
+
</rule>
<rule>
<pattern>
@@ -2815,6 +2817,7 @@
<example type="incorrect"><marker>tan</marker> físic com
estètic.</example>
<example type="correct">Tant físic com estètic.</example>
<example type="correct">tan coneixedor com servidora</example>
+ <!-- <example type="correct">és tan covard com
oportunista.</example> -->
</rule>
<rule>
<pattern>
@@ -5478,7 +5481,7 @@
<token negate_pos="yes" postag="SENT_START"
regexp="yes"><exception>i</exception><exception
postag="allow_repetition">de</exception>[\p{L}·'-]+</token>
<token regexp="yes"
spacebefore="yes"><exception>i</exception>[\p{L}·'-]+</token>
<token><match no="0"/><exception
postag="</LOC_ADV>" regexp="yes">poc|més|pas|bat</exception></token>
- <token><match no="1"/><exception
postag="</LOC_ADV>" regexp="yes">poc|més</exception></token>
+ <token><match no="1"/><exception
postag="</LOC_ADV>" regexp="yes">poc|més|bo</exception></token>
</marker>
</pattern>
<message>Elimina la duplicació. <suggestion><match no="1"/>
<match no="2"/></suggestion></message>
@@ -5489,6 +5492,7 @@
<example type="correct">A més a més, ho va fer a poc a
poc.</example>
<example type="correct">A diferència dels dels
ocells.</example>
<example type="correct">Puja pas a pas a les ruïnes</example>
+ <example type="correct">estava malalt de bo de bo</example>
</rule>
<rule>
<pattern>
@@ -13424,7 +13428,7 @@
</marker>
<token><exception postag="_GN_.*" postag_regexp="yes"/></token>
</pattern>
- <message>Incorrecte si equival a <suggestion><match no="1"/>
<match no="2" postag="AQ0(..)0" postag_regexp="yes"
postag_replace="AQ0$10">mateix</match> <match no="3"/></suggestion>. Correcte
si equival a '<match no="1"/> <match no="3" include_skipped="all"/> <match
no="2"/>'.</message>
+ <message>Correcte si equival a '<match no="1"/> <match no="3"
include_skipped="all"/> <match no="2"/>'. Si no potser cal dir:
<suggestion><match no="1"/> <match no="2" postag="AQ0(..)0" postag_regexp="yes"
postag_replace="AQ0$10">mateix</match> <match no="3"/></suggestion>.</message>
<url>http://esadir.cat/lexic/entrades/entry_20030718132249_829</url>
<example type="incorrect" correction="el mateix president">Ho
digué <marker>el propi president</marker>.</example>
<example type="correct">Ho digué el mateix president.</example>
@@ -15850,8 +15854,8 @@
<pattern>
<token postag="SENT_START|V.[^NGP].*" postag_regexp="yes"
skip="-1"><exception postag="PR.*|PT.*|DT.*|.*LOC_CONJ.*|C.*"
postag_regexp="yes" scope="next"/><exception scope="next"
regexp="yes">perquè|com</exception></token>
<marker>
- <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes" skip="-1">[\p{Ll}·]+<exception postag="_GN_.*|N.*|A.*|V.[NGP].*"
postag_regexp="yes"/><exception>di</exception><exception scope="next"
regexp="yes">,|com|perquè|que</exception><exception
postag="_PUNCT.*|C.*|PR.*|PT.*|DT.*|.*LOC_CONJ.*|_loc_unavegada"
postag_regexp="yes" scope="next"/></token>
- <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes">[\p{Ll}·]+<exception postag="_GN_.*|N.*|A.*|V.[NGP].*|.*LOC.*"
postag_regexp="yes"/><exception regexp="yes">di|cap</exception></token>
+ <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes" skip="-1">[\p{Ll}·]+<exception
postag="_GN_.*|N.*|A.*|V.[NGP].*|_loc_nosequi"
postag_regexp="yes"/><exception>di</exception><exception scope="next"
regexp="yes">,|com|perquè|que</exception><exception
postag="_PUNCT.*|C.*|PR.*|PT.*|DT.*|.*LOC_CONJ.*|_loc_unavegada"
postag_regexp="yes" scope="next"/></token>
+ <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes">[\p{Ll}·]+<exception
postag="_GN_.*|N.*|A.*|V.[NGP].*|.*LOC.*|_loc_nosequi"
postag_regexp="yes"/><exception regexp="yes">di|cap</exception></token>
</marker>
</pattern>
<message>Falta algun element entre verbs: coma, conjunció,
pronom relatiu, etc.</message>
@@ -15878,13 +15882,17 @@
<example type="correct">Quan va arribar i ho va veure se'n va
anar.</example>
<example type="correct">Quan va arribar i ho va veure, se'n va
anar.</example>
<example type="correct">li va donar el nom de «el Senyor
proveeix»</example>
+ <example type="correct">esgotament d'una deu poètica.</example>
+ <example type="correct">La resta ha estat molt vaga i
incerta</example>
+ <example type="correct">La setmana passada anà a Roses per no
sé quin afer.</example>
+ <example type="correct">El passallís del Fluvià era molt poc
som.</example>
</rule>
<rule> <!-- verb forma simple a l'inici de frase (en majúscula) -->
<pattern>
<token postag="SENT_START"/>
<marker>
- <token postag="V.[^NGP].*" postag_regexp="yes"
skip="-1"><exception postag="_GN_.*|N.*|A.*|V.[NGP].*"
postag_regexp="yes"/><exception>di</exception><exception scope="next"
regexp="yes">,|com|perquè|que</exception><exception
postag="_PUNCT.*|C.*|PR.*|PT.*|DT.*|.*LOC_CONJ.*|_loc_unavegada"
postag_regexp="yes" scope="next"/></token>
- <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes">[\p{Ll}·]+<exception postag="_GN_.*|N.*|A.*|V.[NGP].*|.*LOC.*"
postag_regexp="yes"/><exception regexp="yes">di|cap</exception></token>
+ <token postag="V.[^NGP].*" postag_regexp="yes"
skip="-1"><exception postag="_GN_.*|N.*|A.*|V.[NGP].*|_loc_nosequi"
postag_regexp="yes"/><exception>di</exception><exception scope="next"
regexp="yes">,|com|perquè|que</exception><exception
postag="_PUNCT.*|C.*|PR.*|PT.*|DT.*|.*LOC_CONJ.*|_loc_unavegada"
postag_regexp="yes" scope="next"/></token>
+ <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes">[\p{Ll}·]+<exception
postag="_GN_.*|N.*|A.*|V.[NGP].*|.*LOC.*|_loc_nosequi"
postag_regexp="yes"/><exception regexp="yes">di|cap</exception></token>
</marker>
</pattern>
<message>Falta algun element entre verbs: coma, conjunció,
pronom relatiu, etc.</message>
@@ -15900,10 +15908,10 @@
<token><exception postag="V.N.*"
postag_regexp="yes"/></token>
<marker>
<and>
- <token postag="V.[NGP].*" postag_regexp="yes"
regexp="yes" skip="-1">[\p{Ll}·]+<exception postag="_GN_.*|N.*|A.*"
postag_regexp="yes"/><exception regexp="yes">di|havent</exception><exception
scope="next" regexp="yes">,|com|perquè|que</exception><exception
postag="_PUNCT.*|C.*|PR.*|PT.*|DT.*|.*LOC_CONJ.*|_loc_unavegada"
postag_regexp="yes" scope="next"/></token>
+ <token postag="V.[NGP].*" postag_regexp="yes"
regexp="yes" skip="-1">[\p{Ll}·]+<exception
postag="_GN_.*|N.*|A.*|_loc_nosequi" postag_regexp="yes"/><exception
regexp="yes">di|havent</exception><exception scope="next"
regexp="yes">,|com|perquè|que</exception><exception
postag="_PUNCT.*|C.*|PR.*|PT.*|DT.*|.*LOC_CONJ.*|_loc_unavegada"
postag_regexp="yes" scope="next"/></token>
<token postag="_GV_"/>
</and>
- <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes">[\p{Ll}·]+<exception postag="_GN_.*|N.*|A.*|V.[NGP].*|.*LOC.*"
postag_regexp="yes"/><exception regexp="yes">di|cap</exception></token>
+ <token postag="V.[^NGP].*" postag_regexp="yes"
regexp="yes">[\p{Ll}·]+<exception
postag="_GN_.*|N.*|A.*|V.[NGP].*|.*LOC.*|_loc_nosequi"
postag_regexp="yes"/><exception regexp="yes">di|cap</exception></token>
</marker>
</pattern>
<message>Falta algun element entre verbs: coma, conjunció,
pronom relatiu, etc.</message>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits