Revision: 7779
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=7779&view=rev
Author:   jaumeortola
Date:     2012-07-30 00:07:57 +0000 (Mon, 30 Jul 2012)
Log Message:
-----------
[ca] Fixed false alarms: "es deixa caure", "jo mateixa". 

Modified Paths:
--------------
    trunk/JLanguageTool/src/resource/ca/disambiguation.xml
    trunk/JLanguageTool/src/rules/ca/grammar.xml

Modified: trunk/JLanguageTool/src/resource/ca/disambiguation.xml
===================================================================
--- trunk/JLanguageTool/src/resource/ca/disambiguation.xml      2012-07-29 
17:58:29 UTC (rev 7778)
+++ trunk/JLanguageTool/src/resource/ca/disambiguation.xml      2012-07-30 
00:07:57 UTC (rev 7779)
@@ -2044,6 +2044,19 @@
         </pattern>
         <disambig action="filter" postag="V.*"></disambig>
     </rule>
+    <rule id="PronomNom" name="nom i pronom">
+        <!-- jo, mi, la, te, ens  -->
+        <pattern>
+            <token><exception postag="D[AID].*" postag_regexp="yes" /></token> 
+            <marker>
+                <and>
+                    <token postag="PP.*" postag_regexp="yes"/>
+                    <token postag="N.*" postag_regexp="yes"/>
+                </and>
+            </marker>
+        </pattern>
+        <disambig action="filter" postag="[^N].*"></disambig>
+    </rule>
     <rulegroup id="DNA" name="Det + Nom + Adj/Possessiu/participi">
         <!--Falla amb nom neutre?: Aquest art expressa
         -->

Modified: trunk/JLanguageTool/src/rules/ca/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-07-29 17:58:29 UTC 
(rev 7778)
+++ trunk/JLanguageTool/src/rules/ca/grammar.xml        2012-07-30 00:07:57 UTC 
(rev 7779)
@@ -1092,7 +1092,7 @@
                         <marker>
                             <token postag="P0.*" postag_regexp="yes" 
skip="2"><exception postag="P[0P].*|V.[^MNGP].*|SENT_END" scope="next" 
postag_regexp="yes" negate_pos="yes" /></token>
                         </marker>
-                        <token postag="V.[^MNGP].*" postag_regexp="yes" 
skip="1"><exception scope="next">per</exception></token>
+                        <token postag="V.[^MNGP].*" postag_regexp="yes" 
skip="1"><exception scope="next">per</exception><exception 
inflected="yes">deixar</exception></token>
                     </unify>
                     <token 
regexp="yes">caure|callar|témer|marxar|albergar|olorar</token>
                 </pattern>
@@ -1104,6 +1104,7 @@
                 <example type="incorrect">Tu <marker>et</marker> pots 
caure.</example>
                 <example type="correct">El nen pot caure.</example>
                 <example type="correct">El nen et pot caure.</example>
+                <example type="correct">Es deixaven caure.</example>
             </rule>
             <!-- -->
             <rule>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to