Revision: 9409
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9409&view=rev
Author:   dominikoeo
Date:     2013-02-17 20:53:33 +0000 (Sun, 17 Feb 2013)
Log Message:
-----------
[fr] fixed false alarms.

Modified Paths:
--------------
    
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/resource/fr/disambiguation.xml
    
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml

Modified: 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/resource/fr/disambiguation.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/resource/fr/disambiguation.xml
      2013-02-17 19:36:35 UTC (rev 9408)
+++ 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/resource/fr/disambiguation.xml
      2013-02-17 20:53:33 UTC (rev 9409)
@@ -718,15 +718,36 @@
   </rulegroup>
 
   <rulegroup name="RP : Etre/avoir + participe passé ambigu" 
id="RP-ÊTRE_AVOIR_VPPA_AMBIG">
-    <rule name="ppa masc sing">
+    <rule>
       <pattern>
-        <token postag="V etre .*|V avoir .*" postag_regexp="yes" skip="2"/>
+        <token postag="V etre .*|V avoir .*" postag_regexp="yes"/>
         <marker>
           <token postag="V ppa .*" postag_regexp="yes"/>
         </marker>
       </pattern>
       <disambig><match no="2" postag_regexp="yes" postag="V ppa 
.*"/></disambig>
     </rule>
+    <rule>
+      <pattern>
+        <token postag="V etre .*|V avoir .*" postag_regexp="yes"/>
+        <token postag="A"/>
+        <marker>
+          <token postag="V ppa .*" postag_regexp="yes"/>
+        </marker>
+      </pattern>
+      <disambig><match no="3" postag_regexp="yes" postag="V ppa 
.*"/></disambig>
+    </rule>
+    <rule>
+      <pattern>
+        <token postag="V etre .*|V avoir .*" postag_regexp="yes"/>
+        <token postag="A"/>
+        <token postag="A"/>
+        <marker>
+          <token postag="V ppa .*" postag_regexp="yes"/>
+        </marker>
+      </pattern>
+      <disambig><match no="4" postag_regexp="yes" postag="V ppa 
.*"/></disambig>
+    </rule>
     <rule name="avoir été">
       <pattern>
         <token postag="V avoir .*" postag_regexp="yes" skip="2"/>

Modified: 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
===================================================================
--- 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
        2013-02-17 19:36:35 UTC (rev 9408)
+++ 
trunk/languagetool/languagetool-language-modules/fr/src/main/resources/org/languagetool/rules/fr/grammar.xml
        2013-02-17 20:53:33 UTC (rev 9409)
@@ -663,7 +663,10 @@
           <marker>
             <token>ça<exception postag="V.*" postag_regexp="yes" 
scope="previous"/></token>
           </marker>
-          <token postag="N .*" postag_regexp="yes"><exception postag="V .*" 
postag_regexp="yes"/><exception regexp="yes">[a-z]</exception></token>
+          <token postag="N .*" postag_regexp="yes">
+            <exception postag="V .*" postag_regexp="yes"/>
+            <exception regexp="yes">[a-z]|oui</exception>
+          </token>
         </pattern>
         <message>Voulez-vous écrire <suggestion>sa</suggestion> ?</message>
         <example type="incorrect">Il parle de <marker>ça</marker> 
maison.</example>
@@ -671,6 +674,7 @@
         <example type="correct">Ça montre que tu n’as pas compris.</example>
         <example type="correct">Ça c’est un couteau.</example>
         <example type="correct">Ça n’a pas de sens.</example>
+        <example type="correct">Mais ça oui.</example>
       </rule>
     </rulegroup>
     <rulegroup id="SA_CA" name="SA au lieu de ÇA">
@@ -3162,7 +3166,7 @@
             <exception postag="V inf|[JANZ] .* s?p" postag_regexp="yes" 
scope="current"/>
             <exception postag="&lt;/DE&gt;" scope="previous"/>
             <exception regexp="yes" scope="previous">et|de|du</exception>
-            <exception regexp="yes">air|car</exception>
+            <exception regexp="yes">air|car|juste</exception>
           </token>
           <token postag="[JNZ] . p" postag_regexp="yes">
             <exception postag="V .*|[JNZ] .* sp" postag_regexp="yes"/>
@@ -3196,6 +3200,7 @@
         <example type="correct">Ils sont en général jeunes.</example>
         <example type="correct">Les lois antitrust américaines.</example>
         <example type="correct">Des roquettes sont <marker>même 
retombées</marker>.</example>
+        <example type="correct">Ils sont <marker>juste amis</marker>.</example>
       </rule>
       <rule name="pluriel suivi du singulier">
         <pattern>
@@ -5388,6 +5393,8 @@
         <example type="correct">C’est l’animal en moi qui le veut.</example>
         <example type="correct">C’est lui ou moi qui a gagné.</example>
         <example type="correct">C’est moi qui suis allé là-bas.</example>
+        <example type="incorrect">C’est moi qui <marker>dit</marker> 
ça.</example>
+        <example type="correct">C’est moi qui dis ça.</example>
       </rule>
       <rule>
         <pattern>

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


------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to